[FFmpeg-devel] [PATCH] IFF: Fix IFF decoder crash with enabled avfilter

Sebastian Vater cdgs.basty
Sun May 23 18:41:18 CEST 2010


Finally, the IFF decoder works also with enabled libavfilter.

I just tried out this patch with all images and they work like a charm.

I did this by moving get_buffer call in decode_init to both decode_frame
parts (replacing the reget_buffers there).

Also I had to move ff_read_cmap_palette from decode_init to decode_frame
also since that relies on get_buffer already called.

So here's the very small patch to review. :)

-- 

Best regards,
                   :-) Basty/CDGS (-:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-avfilter-crash-fix.patch
Type: text/x-patch
Size: 1975 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100523/06e612b5/attachment.bin>



More information about the ffmpeg-devel mailing list