From 098528ec59ddfc4cf7ca7cf20a6519c03f611695 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 15 Mar 2022 09:44:51 +0100 Subject: [PATCH] avfilter/af_afftdn: after sampling noise, set full parameters --- libavfilter/af_afftdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_afftdn.c b/libavfilter/af_afftdn.c index 1941e55f93..b4a4b4fd65 100644 --- a/libavfilter/af_afftdn.c +++ b/libavfilter/af_afftdn.c @@ -1177,7 +1177,7 @@ static int output_frame(AVFilterLink *inlink, AVFrame *in) finish_sample_noise(s, dnch, sample_noise); set_noise_profile(s, dnch, sample_noise, 1); - set_band_parameters(s, dnch); + set_parameters(s, dnch, 1, 1); } s->sample_noise = 0; s->sample_noise_end = 0;