Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -440,7 +440,7 @@ static int config_filter(AVFilterLink *outlink, int reset) · 439 unmodified lines | ||
| 440 | 440 | return 0; |
| 441 | 441 | } |
| 442 | 442 | |
| 443 | − if (w0 > M_PI || w0 <= 0.) | |
| 443 | + if ((w0 > M_PI || w0 <= 0.) && (s->filter_type != biquad)) | |
| 444 | 444 | return AVERROR(EINVAL); |
| 445 | 445 | |
| 446 | 446 | switch (s->width_type) { |