Browse Source

avfilter/af_biquads: make sure that biquad filter still works

tags/n4.4
Paul B Mahol 5 years ago
parent
commit
c6a7ca271b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_biquads.c

+ 1
- 1
libavfilter/af_biquads.c View File

@@ -440,7 +440,7 @@ static int config_filter(AVFilterLink *outlink, int reset)
return 0;
}

if (w0 > M_PI || w0 <= 0.)
if ((w0 > M_PI || w0 <= 0.) && (s->filter_type != biquad))
return AVERROR(EINVAL);

switch (s->width_type) {


Loading…
Cancel
Save