aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-08-25 17:42:19 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-09-09 23:04:53 +0200
commit9d1e98afeecbd0c08b414f452967c47f7d846921 (patch)
treedad1cf7c4be6ade4dbdaa7e1dabdf66d002b0a47
parent2f071767d9b434cd1396fe8a465e17e2bd02d1d7 (diff)
downloadffmpeg-9d1e98afeecbd0c08b414f452967c47f7d846921.tar.gz
tools/target_dec_fuzzer: Adjust threshold for LSCR
Fixes: Timeout (12sec -> 3sec) Fixes: 15327/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LSCR_fuzzer-5702887719567360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tools/target_dec_fuzzer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 3a19efd031..6fb53d5ab2 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -139,6 +139,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
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;
+ case AV_CODEC_ID_LSCR: maxpixels /= 16; break;
case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break;
}