tools/target_dec_fuzzer: Adjust maxpixels for indeo4
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Aug 2019 21:42:09 +0000 (23:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 29 Aug 2019 13:57:54 +0000 (15:57 +0200)
Fixes: Timeout (131sec -> 4sec)
Fixes: 15581/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO4_fuzzer-5651105515569152

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 2aa7c67e2a7d0a69910f64494b1d9092b77b500a..e22a0c5c345ba29f9fa4fee1d7db4ed271d64e1c 100644 (file)
@@ -137,6 +137,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     case AV_CODEC_ID_GDV:       maxpixels /= 512; break;
         // Postprocessing in C
     case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break;
+        // Cliping in C, generally slow even with small input
+    case AV_CODEC_ID_INDEO4:    maxpixels /= 128; break;
     }