From 20b8688092a02b425b94279fbbb55606d3560214 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 9 Jul 2023 09:56:03 +0200 Subject: [PATCH] avfilter/adynamicequalizer_template: fix peak filter --- libavfilter/adynamicequalizer_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/adynamicequalizer_template.c b/libavfilter/adynamicequalizer_template.c index ee9f4a1d5f..94a27ea1cc 100644 --- a/libavfilter/adynamicequalizer_template.c +++ b/libavfilter/adynamicequalizer_template.c @@ -129,7 +129,7 @@ static int fn(filter_prepare)(AVFilterContext *ctx) da[1] = dg * da[0]; da[2] = dg * da[1]; - dm[0] = ZERO; + dm[0] = ONE; dm[1] = -k; dm[2] = -TWO; break;