aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2021-09-14 00:26:12 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2021-09-14 17:34:33 +0200
commit8f4c36553c068faafdaa3af8198da9c2b379b3e8 (patch)
tree0ec91a94a14dc713ac40a80ac247e341b7fbe87c
parent7dfa8040d66a6e21898436fdf3568f67fd2f4eb8 (diff)
downloadffmpeg-8f4c36553c068faafdaa3af8198da9c2b379b3e8.tar.gz
tools/target_dec_fuzzer: Adjust threshold for WMV3
Fixes: Timeout clearing images Fixes: 37726/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-4604669570187264 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 c0e59983c4..d192f7db48 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -210,6 +210,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_VP9: maxpixels /= 4096; break;
case AV_CODEC_ID_WAVPACK: maxsamples /= 1024; break;
case AV_CODEC_ID_WMV3IMAGE: maxpixels /= 8192; break;
+ case AV_CODEC_ID_WMV3: maxpixels /= 1024; break;
case AV_CODEC_ID_WS_VQA: maxpixels /= 16384; break;
case AV_CODEC_ID_WMALOSSLESS: maxsamples /= 1024; break;
case AV_CODEC_ID_ZEROCODEC: maxpixels /= 128; break;