tools/target_dec_fuzzer: Adjust threshold for ANM

Fixes: Timeout
Fixes: 48923/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ANM_fuzzer-6391662321991680

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-07-10 17:47:19 +02:00
parent 046b05082d
commit 21938ce739
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
maxsamples = maxsamples_per_frame * maxiteration; maxsamples = maxsamples_per_frame * maxiteration;
switch (c->p.id) { switch (c->p.id) {
case AV_CODEC_ID_AGM: maxpixels /= 1024; break; case AV_CODEC_ID_AGM: 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_BINKVIDEO: maxpixels /= 32; break; case AV_CODEC_ID_BINKVIDEO: maxpixels /= 32; break;