aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-01-25 00:14:24 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-04-22 23:20:06 +0200
commit99dc7517827e8cbd4d63488eff57e6b21b4b6f3f (patch)
tree11bdb771ed5a262d23326f4fe79b036ac403597b /tools
parent38adbc6eebd7f2f34ecf1b0b18019e88bad9d9f4 (diff)
downloadffmpeg-99dc7517827e8cbd4d63488eff57e6b21b4b6f3f.tar.gz
tools/target_dec_fuzzer: Adjust threshold for EXR
Fixes: Timeout Fixes: 55106/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5052199338377216 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools')
-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 a9472eebe6..93869db04c 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -227,6 +227,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_DVB_SUBTITLE: av_dict_set_int(&opts, "compute_clut", -2, 0); break;
case AV_CODEC_ID_DXA: maxpixels /= 32; break;
case AV_CODEC_ID_DXV: maxpixels /= 32; break;
+ case AV_CODEC_ID_EXR: maxpixels /= 1024; break;
case AV_CODEC_ID_FFV1: maxpixels /= 32; break;
case AV_CODEC_ID_FFWAVESYNTH: maxsamples /= 16384; break;
case AV_CODEC_ID_FLAC: maxsamples /= 1024; break;