avfilter/af_biquads: add missing break statements
authorPaul B Mahol <onemda@gmail.com>
Sun, 17 Dec 2017 18:23:37 +0000 (19:23 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 17 Dec 2017 18:23:37 +0000 (19:23 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_biquads.c

index 289116d..3159bd6 100644 (file)
@@ -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);