tools/target_dec_fuzzer: adjust pixel threshold for SANM, as it allows coding giganti...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 12 Aug 2019 08:40:30 +0000 (10:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 29 Aug 2019 13:57:54 +0000 (15:57 +0200)
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>
tools/target_dec_fuzzer.c

index c6b506b1ae8a9bd9eb520e067e0e77d6bafae801..adef0a0e58e2630b1c9cc5228ed69888e3e5535f 100644 (file)
@@ -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;