[FFmpeg-devel] [PATCH 1/3] Revert "avcodec: Add max_pixels options"

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun Dec 11 21:26:06 EET 2016

On 11.12.2016 20:19, Nicolas George wrote:
> Le primidi 21 frimaire, an CCXXV, Andreas Cadhalpun a écrit :
>> No, that doesn't solve the problem. It takes much more time until the
>> address space limit is reached than checking the resolution before
>> starting to allocate the memory.
> So basically, this option solves the problem of fuzzers running too
> slowly by preventing them from doing their job.

Most problems can be reproduced with smaller image sizes, like basically
all the issues I've found so far.

And testing hundreds of such files with smaller resolution instead
of one with large resolution is just that much more efficient.

Best regards,

More information about the ffmpeg-devel mailing list