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

Michael Niedermayer michaelni
Wed Mar 7 02:48:58 CET 2007


Hi

On Wed, Mar 07, 2007 at 01:13:02AM +0100, Alex Beregszaszi wrote:
> 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.

hmm, isnt it better if an error in a bitstream filter would cause the
encoding to abort?

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

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070307/6de26b40/attachment.pgp>



More information about the ffmpeg-devel mailing list