aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-09-21 00:00:28 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-09-24 15:37:18 +0200
commit5ded752241aec7d21b539c4c8606569e4fe3a164 (patch)
tree13f189b50214688617ffead827663353eb4b2abf
parentc3a1cbbf5d99337b5e99260eb95c84e65c7587f6 (diff)
downloadffmpeg-5ded752241aec7d21b539c4c8606569e4fe3a164.tar.gz
tools/target_dec_fuzzer: Add threshold for SRGC
Fixes: Timeout Fixes: 71234/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SRGC_fuzzer-5098445864501248 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 81ee4ef1a4..432e948816 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -296,6 +296,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_SMACKAUDIO: maxsamples /= 4096; break;
case AV_CODEC_ID_SMACKVIDEO: maxpixels /= 64; break;
case AV_CODEC_ID_SNOW: maxpixels /= 128; break;
+ case AV_CODEC_ID_SRGC: maxpixels /= 128; break;
case AV_CODEC_ID_TARGA: maxpixels /= 128; break;
case AV_CODEC_ID_TAK: maxsamples /= 1024; break;
case AV_CODEC_ID_TGV: maxpixels /= 32; break;