[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for MWSC

Michael Niedermayer git at videolan.org
Thu Jul 21 22:07:58 EEST 2022


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Jul 19 01:29:54 2022 +0200| [9b23eb8a10d3a7b3a5087776523f9cf1ef671989] | committer: Michael Niedermayer

tools/target_dec_fuzzer: Adjust threshold for MWSC

Fixes: Timeout
Fixes: 49172/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MWSC_fuzzer-5213749102903296

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9b23eb8a10d3a7b3a5087776523f9cf1ef671989
---

 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 017c5cf024..49baa2da6c 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -254,6 +254,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     case AV_CODEC_ID_MSS2:        maxpixels  /= 16384; break;
     case AV_CODEC_ID_MSZH:        maxpixels  /= 128;   break;
     case AV_CODEC_ID_MVC2:        maxpixels  /= 128;   break;
+    case AV_CODEC_ID_MWSC:        maxpixels  /= 256;   break;
     case AV_CODEC_ID_MXPEG:       maxpixels  /= 128;   break;
     case AV_CODEC_ID_OPUS:        maxsamples /= 16384; break;
     case AV_CODEC_ID_PNG:         maxpixels  /= 128;   break;



More information about the ffmpeg-cvslog mailing list