mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 18:53:02 +00:00
avfilter/af_biquads: make sure that biquad filter still works
This commit is contained in:
parent
040e989223
commit
c6a7ca271b
@ -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…
Reference in New Issue
Block a user