[FFmpeg-cvslog] tools/target_dec_fuzzer: Add missing breaks
Michael Niedermayer
git at videolan.org
Mon Aug 12 10:00:20 EEST 2019
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Aug 12 08:51:09 2019 +0200| [faa9cd312f02cec5f74658319d1119fcaa7f9088] | committer: Michael Niedermayer
tools/target_dec_fuzzer: Add missing breaks
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=faa9cd312f02cec5f74658319d1119fcaa7f9088
---
tools/target_dec_fuzzer.c | 8 ++++----
1 file 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;
}
More information about the ffmpeg-cvslog
mailing list