[Ffmpeg-devel] [PATCH] bitstream filter error handling

Alex Beregszaszi alex
Wed Mar 7 01:13:02 CET 2007


Hi,

while trying the bitstream filters, a dummy commandline produced a
crash. I tried mp3comp filter mp2 output, thus it printed "not standards
compliant" and crashed.

Debug showed that the filter returns -1 as error, which was not handled
in ffmpeg.c:write_frame.

The attached simple patch solves the bug for me.

--
Alex Beregszaszi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsf.diff
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070307/de23a2d0/attachment.bin>



More information about the ffmpeg-devel mailing list