aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-08-12 08:51:09 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-08-12 08:51:09 +0200
commitfaa9cd312f02cec5f74658319d1119fcaa7f9088 (patch)
tree316d4a7ffa4c2fc2a6d64655ffdb58ba17d3f46a /tools
parent9e0e9a5f3619f1a202e4d7eff5d3d50f21aa1542 (diff)
downloadffmpeg-faa9cd312f02cec5f74658319d1119fcaa7f9088.tar.gz
tools/target_dec_fuzzer: Add missing breaks
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools')
-rw-r--r--tools/target_dec_fuzzer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 2e10fbc54b..507ac429fa 100644
--- a/tools/target_dec_fuzzer.c
+++ b/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;
}