tools/target_dec_fuzzer: Adjust threshold for VB

Fixes: Timeout
Fixes: 49372/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VB_fuzzer-5234505337667584

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-13 22:26:24 +02:00
parent b716ba5029
commit 928857099c
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -278,6 +278,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_TQI: maxpixels /= 1024; break; case AV_CODEC_ID_TQI: maxpixels /= 1024; break;
case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break; case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break;
case AV_CODEC_ID_TSCC: maxpixels /= 1024; break; case AV_CODEC_ID_TSCC: maxpixels /= 1024; break;
case AV_CODEC_ID_VB: maxpixels /= 1024; break;
case AV_CODEC_ID_VC1: maxpixels /= 8192; break; case AV_CODEC_ID_VC1: maxpixels /= 8192; break;
case AV_CODEC_ID_VC1IMAGE: maxpixels /= 8192; break; case AV_CODEC_ID_VC1IMAGE: maxpixels /= 8192; break;
case AV_CODEC_ID_VMNC: maxpixels /= 8192; break; case AV_CODEC_ID_VMNC: maxpixels /= 8192; break;