1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

tools/target_dec_fuzzer: Adjust wmapro threshold

Fixes: Timeout
Fixes: 62266/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAPRO_fuzzer-5125460729921536

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2023-09-16 22:58:07 +02:00
parent 9cef555bc5
commit bb9f8a1cb7
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -310,6 +310,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_WMV3: maxpixels /= 1024; break;
case AV_CODEC_ID_WS_VQA: maxpixels /= 16384; break;
case AV_CODEC_ID_WMALOSSLESS: maxsamples /= 1024; break;
case AV_CODEC_ID_WMAPRO: maxsamples /= 16384; break;
case AV_CODEC_ID_YLC: maxpixels /= 1024; break;
case AV_CODEC_ID_ZEROCODEC: maxpixels /= 128; break;
case AV_CODEC_ID_ZLIB: maxpixels /= 4096; break;