From f8dc89b34d2ccdb59747178475ea6910a11515c4 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 18 Mar 2022 11:29:12 +0100 Subject: [PATCH] avfilter/af_afftdn: remove unused or set only variables --- libavfilter/af_afftdn.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libavfilter/af_afftdn.c b/libavfilter/af_afftdn.c index c66545ac2e..253526e532 100644 --- a/libavfilter/af_afftdn.c +++ b/libavfilter/af_afftdn.c @@ -117,12 +117,6 @@ typedef struct AudioFFTDeNoiseContext { float band_multiplier; float floor_offset; - float last_residual_floor; - float last_noise_floor; - float last_noise_reduction; - float last_noise_balance; - int64_t block_count; - int channels; int sample_noise; int sample_noise_blocks; @@ -1068,7 +1062,6 @@ static int output_frame(AVFilterLink *inlink, AVFrame *in) s->sample_noise_mode = SAMPLE_NONE; } - s->block_count++; ff_filter_execute(ctx, filter_channel, s->winframe, NULL, FFMIN(outlink->ch_layout.nb_channels, ff_filter_get_nb_threads(ctx)));