diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-11-24 14:24:18 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-11-24 14:26:47 +0100 |
commit | c6a7ca271b9cead3595cef09b8e455ff4b3f198a (patch) | |
tree | 15c1fc66bd9ecc0ecfae72c304325c2fce8cfac6 /libavfilter/af_biquads.c | |
parent | 040e989223f0b74c746635a7137e9f43fea28664 (diff) | |
download | ffmpeg-c6a7ca271b9cead3595cef09b8e455ff4b3f198a.tar.gz |
avfilter/af_biquads: make sure that biquad filter still works
Diffstat (limited to 'libavfilter/af_biquads.c')
-rw-r--r-- | libavfilter/af_biquads.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |