avfilter/af_biquads: add missing break statements

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/274/head
Paul B Mahol 7 years ago
parent 9b79c65ec0
commit 9dcecbf04c
  1. 8
      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);

Loading…
Cancel
Save