[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for Jpeg2000
Michael Niedermayer
git at videolan.org
Fri Sep 16 22:40:30 EEST 2022
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Sep 11 14:31:04 2022 +0200| [67250ee8d22b23818d903f4dab28fe0444a1a625] | committer: Michael Niedermayer
tools/target_dec_fuzzer: Adjust threshold for Jpeg2000
Fixes: Timeout
Fixes: 50955/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5148704872464384
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=67250ee8d22b23818d903f4dab28fe0444a1a625
---
tools/target_dec_fuzzer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 5b335d3130..3d4521887a 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -242,7 +242,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_IFF_ILBM: maxpixels /= 128; break;
case AV_CODEC_ID_INDEO4: maxpixels /= 128; break;
case AV_CODEC_ID_INTERPLAY_ACM: maxsamples /= 16384; break;
- case AV_CODEC_ID_JPEG2000: maxpixels /= 16; break;
+ case AV_CODEC_ID_JPEG2000: maxpixels /= 4096; break;
case AV_CODEC_ID_LAGARITH: maxpixels /= 1024; break;
case AV_CODEC_ID_LOCO: maxpixels /= 1024; break;
case AV_CODEC_ID_VORBIS: maxsamples /= 1024; break;
More information about the ffmpeg-cvslog
mailing list