[FFmpeg-devel] [PATCH] IFF: Check for invalid width and height in decoder
Ronald S. Bultje
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?
Why don't you use avcodec_check_dimensions()?
More information about the ffmpeg-devel