From ba823394f65a5179cc338fc72e37ee7f48c5dac0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 13 Aug 2019 23:42:09 +0200 Subject: [PATCH] tools/target_dec_fuzzer: Adjust maxpixels for indeo4 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 --- tools/target_dec_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 2aa7c67e2a..e22a0c5c34 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -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; }