[FFmpeg-devel] 0001-Avoid-segfault-in-a64_write_header-when-stream-codec.patch

Andrey Myznikov andrey.myznikov at gmail.com
Mon Aug 18 19:05:41 CEST 2014


Hello,

     Attached patch fixes segmentation fault in libavformat/a64.c 
a64_write_header() when output stream's codec is not open, so 
avctx->codec is NULL (in "stream_copy" use case for example). Correct 
access to codec id is use of "avctx->codec_id" instead of 
"avctx->codec->id".

Regards,
     Andrey Myznikov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Avoid-segfault-in-a64_write_header-when-stream-codec.patch
Type: text/x-patch
Size: 751 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140818/bb626d26/attachment.bin>


More information about the ffmpeg-devel mailing list