aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-10-07 13:28:03 +0200
committerPaul B Mahol <onemda@gmail.com>2022-10-07 14:05:31 +0200
commit3d6d127cd022c6d359bbf185dd136445b1411414 (patch)
tree1a6a69a6d5c1be949ff4fea90e7c55021a356f74
parentfce8b908511e57d9c77434280398296ad539f8b2 (diff)
downloadffmpeg-3d6d127cd022c6d359bbf185dd136445b1411414.tar.gz
avfilter/af_biquads: fix bandpass for zdf
-rw-r--r--libavfilter/af_biquads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 03165bf22d..49ad0a471f 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -729,7 +729,7 @@ static void convert_dir2zdf(BiquadsContext *s, int sample_rate)
a[1] = g * a[0];
a[2] = g * a[1];
m[0] = 0.;
- m[1] = s->csg ? 1. : 2.;
+ m[1] = s->csg ? 1. : k;
m[2] = 0.;
break;
case bandreject: