mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
tools/target_dec_fuzzer: adjust pixel threshold for SANM, as it allows coding gigantic images on tiny input
Fixes: Timeout (13sec ->1sec) Fixes: 16122/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuzzer-5724944247291904 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7e9aecc9f3
commit
738ff94f7c
@ -131,6 +131,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
case AV_CODEC_ID_DIRAC: maxpixels /= 8192; break;
|
||||
case AV_CODEC_ID_MSRLE: maxpixels /= 16; break;
|
||||
case AV_CODEC_ID_QTRLE: maxpixels /= 16; break;
|
||||
case AV_CODEC_ID_SANM: maxpixels /= 16; break;
|
||||
case AV_CODEC_ID_GIF: maxpixels /= 16; break;
|
||||
// Performs slow frame rescaling in C
|
||||
case AV_CODEC_ID_GDV: maxpixels /= 256; break;
|
||||
|
Loading…
Reference in New Issue
Block a user