Baptiste Coudurier <[email protected]> added the comment:
Hi,
>
> Index: libavformat/r3d.c
> ===================================================================
> --- libavformat/r3d.c (revision 19694)
> +++ libavformat/r3d.c (working copy)
> @@ -87,6 +87,7 @@
> dprintf(s, "audio channels %d\n", tmp);
> if (tmp> 0) {
> AVStream *ast = av_new_stream(s, 1);
> + if (!ast) return -1;
> ast->codec->codec_type = CODEC_TYPE_AUDIO;
> ast->codec->codec_id = CODEC_ID_PCM_S32BE;
> ast->codec->channels = tmp;
Applied this hunk.
_____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue1339>
_____________________________________________________