[FFmpeg-devel] [PATCH] IFF: Check for invalid width and height in decoder

Ronald S. Bultje rsbultje
Mon May 10 15:39:25 CEST 2010


On Mon, May 10, 2010 at 9:35 AM, Sebastian Vater
<cdgs.basty at googlemail.com> wrote:
> M?ns Rullg?rd a ?crit :
>> Michael Niedermayer <michaelni at gmx.at> writes:
>>> ok with me, that is if noone minds printing signed values ?with %u
>> I mind. ?The code is checking for negative size, but prints the
>> offending values as unsigned. ?WTF?
> Fixed.

Why don't you use avcodec_check_dimensions()?


More information about the ffmpeg-devel mailing list