[FFmpeg-devel] [PATCH 2/3] tools/target_dec_fuzzer: Adjust maxpixels for indeo4
Michael Niedermayer
michael at niedermayer.cc
Wed Aug 14 10:00:07 EEST 2019
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 at niedermayer.cc>
---
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 b3a12f8a63..5f288dc9f9 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -176,6 +176,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;
}
--
2.22.1
More information about the ffmpeg-devel
mailing list