1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

tools/target_dec_fuzzer: Adjust threshold for bethsoftvid

Fixes: Timeout
Fixes: 49791/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BETHSOFTVID_fuzzer-4583956145635328

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 2022-08-18 22:29:27 +02:00
parent d93dccdc9f
commit 049ed1dada
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -213,6 +213,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_ANM: maxpixels /= 1024; break; case AV_CODEC_ID_ANM: maxpixels /= 1024; break;
case AV_CODEC_ID_ARBC: maxpixels /= 1024; break; case AV_CODEC_ID_ARBC: maxpixels /= 1024; break;
case AV_CODEC_ID_ARGO: maxpixels /= 1024; break; case AV_CODEC_ID_ARGO: maxpixels /= 1024; break;
case AV_CODEC_ID_BETHSOFTVID: maxpixels /= 8192; break;
case AV_CODEC_ID_BINKVIDEO: maxpixels /= 32; break; case AV_CODEC_ID_BINKVIDEO: maxpixels /= 32; break;
case AV_CODEC_ID_CDTOONS: maxpixels /= 1024; break; case AV_CODEC_ID_CDTOONS: maxpixels /= 1024; break;
case AV_CODEC_ID_CFHD: maxpixels /= 16384; break; case AV_CODEC_ID_CFHD: maxpixels /= 16384; break;