PR #21276 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21276
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21276.patch

Fixes: Timeout
Fixes: 
464041539/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_DEC_fuzzer-4758337414823936

Found-by:  continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>


>From dc36ec2b8d239823ec859bdc7a1691b38d725a38 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <[email protected]>
Date: Mon, 22 Dec 2025 23:29:32 +0100
Subject: [PATCH] tools/target_dec_fuzzer: Adjust threshold for ZMBV

Fixes: Timeout
Fixes: 
464041539/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_DEC_fuzzer-4758337414823936

Found-by:  continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
---
 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 a40dc01248..3fce8de433 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -346,6 +346,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t 
size) {
     case AV_CODEC_ID_YLC:         maxpixels  /= 1024;  break;
     case AV_CODEC_ID_ZEROCODEC:   maxpixels  /= 128;   break;
     case AV_CODEC_ID_ZLIB:        maxpixels  /= 4096;  break;
+    case AV_CODEC_ID_ZMBV:        maxpixels  /= 4096;  break;
     }
 
     maxsamples_per_frame = FFMIN(maxsamples_per_frame, maxsamples);
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to