diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c index 549724ec4e..3ec26d2a9d 100644 --- a/libavfilter/af_biquads.c +++ b/libavfilter/af_biquads.c @@ -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) {