[FFmpeg-devel] [PATCH] avoid img_convert infinite loop

Baptiste Coudurier baptiste.coudurier
Mon Dec 3 13:46:42 CET 2007

Hi guys,

If img_convert cannot find a conversion it may infinite loop.

When int_pix_fmt == src_pix_fmt at this point it is necessary to fail,
since this means img_convert could not find int_pix_fmt to dst_pix_fmt

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img_convert_infinite_loop.patch
Type: text/x-diff
Size: 434 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071203/78350eaa/attachment.patch>

More information about the ffmpeg-devel mailing list