]> git.sesse.net Git - ffmpeg/commitdiff
tools/target_dec_fuzzer: Adjust GDV pixel threshold down by a factor of 2
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Aug 2019 20:06:12 +0000 (22:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 29 Aug 2019 13:57:54 +0000 (15:57 +0200)
Fixes: Timeout (7sec -> 1sec)
Fixes: 14709/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GDV_fuzzer-5704215281795072
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 adef0a0e58e2630b1c9cc5228ed69888e3e5535f..2aa7c67e2a7d0a69910f64494b1d9092b77b500a 100644 (file)
@@ -134,7 +134,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     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;
+    case AV_CODEC_ID_GDV:       maxpixels /= 512; break;
         // Postprocessing in C
     case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break;
     }