Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-27 00:30:10 +0300
committerPaul B Mahol <onemda@gmail.com>2018-12-27 00:30:10 +0300
commitd702600350de9667becf83fba922904a48409e66 (patch)
treecfdc9251359bc3818b506d8b90dcb847a9e2399f /libavfilter/af_afir.c
parent8443462e4a563430cb12615750339f9dc2c93a8e (diff)
avfilter/af_afir: remove dead store variable
Diffstat (limited to 'libavfilter/af_afir.c')
-rw-r--r--libavfilter/af_afir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c
index 7f384ef8fe..f065c15300 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -300,7 +300,6 @@ static int convert_coeffs(AVFilterContext *ctx)
for (n = av_log2(s->minp); (1 << n) < s->nb_taps; n++);
N = FFMIN(n, av_log2(s->maxp));
- s->ir_length = 1 << n;
s->fft_length = (1 << (N + 1)) + 1;
s->part_size = 1 << (N - 1);
s->block_size = FFALIGN(s->fft_length, 32);
@@ -426,7 +425,7 @@ static int convert_coeffs(AVFilterContext *ctx)
av_log(ctx, AV_LOG_DEBUG, "nb_taps: %d\n", s->nb_taps);
av_log(ctx, AV_LOG_DEBUG, "nb_partitions: %d\n", s->nb_partitions);
av_log(ctx, AV_LOG_DEBUG, "partition size: %d\n", s->part_size);
- av_log(ctx, AV_LOG_DEBUG, "ir_length: %d\n", s->ir_length);
+ av_log(ctx, AV_LOG_DEBUG, "fft_length: %d\n", s->fft_length);
s->have_coeffs = 1;