[FFmpeg-cvslog] avfilter/af_biquads: fix bandpass for zdf
Paul B Mahol
git at videolan.org
Fri Oct 7 15:02:39 EEST 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Oct 7 13:28:03 2022 +0200| [3d6d127cd022c6d359bbf185dd136445b1411414] | committer: Paul B Mahol
avfilter/af_biquads: fix bandpass for zdf
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d6d127cd022c6d359bbf185dd136445b1411414
---
libavfilter/af_biquads.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
More information about the ffmpeg-cvslog
mailing list