1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/af_aiir: remove unused variable

This commit is contained in:
Paul B Mahol 2020-10-18 22:51:55 +02:00
parent 4f83a53638
commit 9860777516

View File

@ -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;