[FFmpeg-cvslog] tools/target_dec_fuzzer: adjust threshold for wmalossless
Michael Niedermayer
git at videolan.org
Sun Oct 25 11:03:59 EET 2020
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Oct 20 18:48:08 2020 +0200| [0d395767ece9ff9613a8fcea163428299425565e] | committer: Michael Niedermayer
tools/target_dec_fuzzer: adjust threshold for wmalossless
Fixes: Timeout (>30sec -> 0.5sec)
Fixes: 26351/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-5191487740182528
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0d395767ece9ff9613a8fcea163428299425565e
---
tools/target_dec_fuzzer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 647a03782f..4eb59bd296 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -180,6 +180,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_VP9: maxpixels /= 4096; break;
case AV_CODEC_ID_WMV3IMAGE: maxpixels /= 8192; 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;
}
More information about the ffmpeg-cvslog
mailing list