tools/target_dec_fuzzer: Adjust VP7 threshold
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Sep 2019 23:53:43 +0000 (01:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 29 Sep 2019 20:18:58 +0000 (22:18 +0200)
Fixes: Timeout (110sec -> 10sec)
Fixes: 17705/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP7_fuzzer-5765834135306240

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tools/target_dec_fuzzer.c

index 4af7b26..a2c59be 100644 (file)
@@ -153,6 +153,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     case AV_CODEC_ID_MSS2:        maxpixels /= 16384; break;
     case AV_CODEC_ID_SNOW:        maxpixels /= 128; break;
     case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break;
+    case AV_CODEC_ID_VP7:         maxpixels /= 256;  break;
     }