tools/target_dec_fuzzer: Add missing breaks

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/321/head^2
Michael Niedermayer 6 years ago
parent 9e0e9a5f36
commit faa9cd312f
  1. 8
      tools/target_dec_fuzzer.c

@ -170,12 +170,12 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
maxpixels = maxpixels_per_frame * maxiteration;
switch (c->id) {
// Allows a small input to generate gigantic output
case AV_CODEC_ID_QTRLE: maxpixels /= 16;
case AV_CODEC_ID_GIF: maxpixels /= 16;
case AV_CODEC_ID_QTRLE: maxpixels /= 16; break;
case AV_CODEC_ID_GIF: maxpixels /= 16; break;
// Performs slow frame rescaling in C
case AV_CODEC_ID_GDV: maxpixels /= 256;
case AV_CODEC_ID_GDV: maxpixels /= 256; break;
// Postprocessing in C
case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128;
case AV_CODEC_ID_HNM4_VIDEO:maxpixels /= 128; break;
}

Loading…
Cancel
Save