[FFmpeg-cvslog] avfilter/af_afftdn: remove unused or set only variables
Paul B Mahol
git at videolan.org
Sat Mar 19 11:53:53 EET 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Mar 18 11:29:12 2022 +0100| [f8dc89b34d2ccdb59747178475ea6910a11515c4] | committer: Paul B Mahol
avfilter/af_afftdn: remove unused or set only variables
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8dc89b34d2ccdb59747178475ea6910a11515c4
---
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)));
More information about the ffmpeg-cvslog
mailing list