mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
tools/target_dec_fuzzer: Add missing breaks
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user