diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-12-26 19:00:00 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-12-26 21:57:59 +0100 |
commit | 8443462e4a563430cb12615750339f9dc2c93a8e (patch) | |
tree | 98ce2c86679d5012eb05686aa2dec9678b239b4e | |
parent | 8dd9df9ecd258cff84cef559f16e682949e78e38 (diff) | |
download | ffmpeg-8443462e4a563430cb12615750339f9dc2c93a8e.tar.gz |
avfilter/af_afir: remove unused variable
-rw-r--r-- | libavfilter/af_afir.c | 1 | ||||
-rw-r--r-- | libavfilter/af_afir.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c index 36fde60594..7f384ef8fe 100644 --- a/libavfilter/af_afir.c +++ b/libavfilter/af_afir.c @@ -306,7 +306,6 @@ static int convert_coeffs(AVFilterContext *ctx) s->block_size = FFALIGN(s->fft_length, 32); s->coeff_size = FFALIGN(s->part_size + 1, 32); s->nb_partitions = (s->nb_taps + s->part_size - 1) / s->part_size; - s->nb_coeffs = s->ir_length + s->nb_partitions; for (ch = 0; ch < ctx->inputs[0]->channels; ch++) { s->sum[ch] = av_calloc(s->fft_length, sizeof(**s->sum)); diff --git a/libavfilter/af_afir.h b/libavfilter/af_afir.h index 13f7c98d72..f2fe290843 100644 --- a/libavfilter/af_afir.h +++ b/libavfilter/af_afir.h @@ -21,7 +21,6 @@ #ifndef AVFILTER_AFIR_H #define AVFILTER_AFIR_H -#include "libavutil/audio_fifo.h" #include "libavutil/common.h" #include "libavutil/float_dsp.h" #include "libavutil/opt.h" @@ -53,7 +52,6 @@ typedef struct AudioFIRContext { int eof_coeffs; int have_coeffs; - int nb_coeffs; int nb_taps; int part_size; int part_index; @@ -72,7 +70,6 @@ typedef struct AudioFIRContext { float **block; FFTComplex **coeff; - AVAudioFifo *fifo; AVFrame *in[2]; AVFrame *buffer; AVFrame *video; |