[FFmpeg-cvslog] tools/target_enc_fuzzer: A64MULTI5 encoder is very slow, check and adjust threshold

Michael Niedermayer git at videolan.org
Sat Jul 13 00:05:07 EEST 2024


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Jul  1 01:12:44 2024 +0200| [12dab3860cf79404c097a319b09d10fac0ab2cc5] | committer: Michael Niedermayer

tools/target_enc_fuzzer: A64MULTI5 encoder is very slow, check and adjust threshold

Fixes: Timeout
Fixes: 68999/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_A64MULTI5_fuzzer-5078418784845824

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=12dab3860cf79404c097a319b09d10fac0ab2cc5
---

 tools/target_enc_fuzzer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/target_enc_fuzzer.c b/tools/target_enc_fuzzer.c
index c4c2df93a9..059d783071 100644
--- a/tools/target_enc_fuzzer.c
+++ b/tools/target_enc_fuzzer.c
@@ -96,6 +96,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     maxpixels = maxpixels_per_frame * maxiteration;
     switch (c->p.id) {
     case AV_CODEC_ID_A64_MULTI:         maxpixels  /= 65536;  break;
+    case AV_CODEC_ID_A64_MULTI5:        maxpixels  /= 65536;  break;
     }
 
     maxpixels_per_frame  = FFMIN(maxpixels_per_frame , maxpixels);



More information about the ffmpeg-cvslog mailing list