[FFmpeg-cvslog] avfilter/af_aiir: remove unused variable
Paul B Mahol
git at videolan.org
Sun Oct 18 23:56:57 EEST 2020
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Oct 18 22:51:55 2020 +0200| [9860777516d0236d6df52d006738f50704d6521b] | committer: Paul B Mahol
avfilter/af_aiir: remove unused variable
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9860777516d0236d6df52d006738f50704d6521b
---
libavfilter/af_afir.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c
index ca90a158a1..1b4e0a0c9e 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -608,7 +608,7 @@ static int convert_coeffs(AVFilterContext *ctx)
return 0;
}
-static int check_ir(AVFilterLink *link, AVFrame *frame)
+static int check_ir(AVFilterLink *link)
{
AVFilterContext *ctx = link->dst;
AudioFIRContext *s = ctx->priv;
@@ -636,9 +636,7 @@ static int activate(AVFilterContext *ctx)
if (s->response)
FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[1], ctx);
if (!s->eof_coeffs[s->selir]) {
- AVFrame *ir = NULL;
-
- ret = check_ir(ctx->inputs[1 + s->selir], ir);
+ ret = check_ir(ctx->inputs[1 + s->selir]);
if (ret < 0)
return ret;
More information about the ffmpeg-cvslog
mailing list