Commit 96efaa9a authored by Michael Niedermayer's avatar Michael Niedermayer

tools/target_dec_fuzzer: Adjust GDV pixel threshold down by a factor of 2

Fixes: Timeout (7sec -> 1sec)
Fixes: 14709/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GDV_fuzzer-5704215281795072

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 738ff94f
...@@ -134,7 +134,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ...@@ -134,7 +134,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
case AV_CODEC_ID_SANM: maxpixels /= 16; break; case AV_CODEC_ID_SANM: maxpixels /= 16; break;
case AV_CODEC_ID_GIF: maxpixels /= 16; break; case AV_CODEC_ID_GIF: maxpixels /= 16; break;
// Performs slow frame rescaling in C // Performs slow frame rescaling in C
case AV_CODEC_ID_GDV: maxpixels /= 256; break; case AV_CODEC_ID_GDV: maxpixels /= 512; break;
// Postprocessing in C // Postprocessing in C
case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break; case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment