diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-09-05 23:20:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-09-07 23:05:25 +0200 |
commit | a12864938dc8e5c4c766d122c1516bbb911ddcf1 (patch) | |
tree | 0f62f6a310d8253a547e5955d528be373017d255 /tools | |
parent | a0da95df77a528251a326fc8b7e2ff48c60e41d0 (diff) | |
download | ffmpeg-a12864938dc8e5c4c766d122c1516bbb911ddcf1.tar.gz |
tools/target_dec_fuzzer: Adjust threshold for WMV3IMAGE
Fixes: Timeout (1131sec -> 1sec)
Fixes: 24727/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3IMAGE_fuzzer-5754167793287168
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/target_dec_fuzzer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 5a4fcf6b62..f17b4df0a2 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -180,6 +180,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break; case AV_CODEC_ID_VP7: maxpixels /= 256; break; case AV_CODEC_ID_VP9: maxpixels /= 4096; break; + case AV_CODEC_ID_WMV3IMAGE: maxpixels /= 8192; break; case AV_CODEC_ID_ZEROCODEC: maxpixels /= 128; break; } |