[FFmpeg-devel] [PATCH] Avoid suppressing parse errors in matroska

Ami Fischman fischman
Tue Feb 22 23:00:40 CET 2011


ffmpeg can be made to loop, apparently infinitely, updating time
counters but not video frames (@ mainline HEAD) or crash (SIGFPE
@ ffmpeg-mt HEAD, for example) during decoding because some of
the parsing routines silently swallow error codes.  The attached
patch fixes this.  An example (corrupt) file that this patch
takes from a looper/crasher to a quiet rejection is arith.webm
attached to http://crbug.com/69218.

FWIW, I'm new to ffmpeg's codebase so if you have feedback please
be as detailed/verbose as you like - it's likely I'll learn from
it.

Cheers,
-a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-no-mask-parse-errors.patch
Type: text/x-patch
Size: 2462 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110222/6908c8a6/attachment.bin>



More information about the ffmpeg-devel mailing list