diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-02-23 00:08:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-12 16:36:47 +0200 |
commit | 2db37bf4cd4e7e2f5e0602691df10b65934feb60 (patch) | |
tree | 53141399756034662f14e826bb90448c4b55a9d0 /tools/target_dec_fuzzer.c | |
parent | f1589be9fda00c417f9bcccb55dbbea998ee08ac (diff) | |
download | ffmpeg-2db37bf4cd4e7e2f5e0602691df10b65934feb60.tar.gz |
tools/target_dec_fuzzer: Adjust threshold for zerocodec
Fixes: Timeout (147sec -> 1sec)
Fixes: 20764/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZEROCODEC_fuzzer-5068274603917312
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/target_dec_fuzzer.c')
-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 8dc5f0dac4..a89ea78f7b 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -168,6 +168,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_ZEROCODEC: maxpixels /= 128; break; } |