[FFmpeg-devel] [PATCH 6/7] lavf/matroskaenc: add automatic bitstream filtering

Michael Niedermayer michaelni at gmx.at
Sat Dec 5 02:51:23 CET 2015


On Fri, Dec 04, 2015 at 05:31:32AM -0600, Rodger Combs wrote:
> ---
>  libavformat/matroskaenc.c | 43 +++++++++++++++++++++++++++++++++++--------
>  1 file changed, 35 insertions(+), 8 deletions(-)

this causes a segfault with

./ffmpeg -i 702121h264-TTA.mkvtest82.mkv out.mkv

==19693== Invalid read of size 4
==19693==    at 0x6164C4: mkv_write_packet (matroskaenc.c:1886)
==19693==    by 0x616807: mkv_write_flush_packet (matroskaenc.c:1967)
==19693==    by 0x663C3F: write_packet (mux.c:683)
==19693==    by 0x66529E: av_write_trailer (mux.c:1097)
==19693==    by 0x43BA0B: transcode (ffmpeg.c:4118)
==19693==    by 0x43BFE5: main (ffmpeg.c:4276)
==19693==  Address 0x10 is not stack'd, malloc'd or (recently) free'd

didnt debug it but mkv->tracks seems NULL

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151205/bc2ffa24/attachment.sig>


More information about the ffmpeg-devel mailing list