[FFmpeg-cvslog] avfilter/af_biquads: add missing break statements

Paul B Mahol git at videolan.org
Sun Dec 17 20:25:09 EET 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Dec 17 19:23:37 2017 +0100| [9dcecbf04c656ffbfdfbeb7580d701d36071d876] | committer: Paul B Mahol

avfilter/af_biquads: add missing break statements

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9dcecbf04c656ffbfdfbeb7580d701d36071d876
---

 libavfilter/af_biquads.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 289116d48f..3159bd6db0 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -512,10 +512,10 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
         }
 
         switch (width_type) {
-        case 'h': width_type = HERTZ;
-        case 'q': width_type = QFACTOR;
-        case 'o': width_type = OCTAVE;
-        case 's': width_type = SLOPE;
+        case 'h': width_type = HERTZ;   break;
+        case 'q': width_type = QFACTOR; break;
+        case 'o': width_type = OCTAVE;  break;
+        case 's': width_type = SLOPE;   break;
         default:
             av_log(ctx, AV_LOG_ERROR, "Invalid width_type value: %c\n", width_type);
             return AVERROR(EINVAL);



More information about the ffmpeg-cvslog mailing list