From 709fca0a9415ea97cd1d49d67298b8c8728a7aec Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 28 Aug 2020 14:22:43 +0200 Subject: [PATCH] avfilter/af_headphone: Remove always true check Reviewed-by: Paul B Mahol Signed-off-by: Andreas Rheinhardt --- libavfilter/af_headphone.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c index e590d02eff..1024ff57b1 100644 --- a/libavfilter/af_headphone.c +++ b/libavfilter/af_headphone.c @@ -631,10 +631,8 @@ static int activate(AVFilterContext *ctx) if ((ret = check_ir(ctx->inputs[i], i)) < 0) return ret; - if (!s->in[i].eof) { if (ff_outlink_get_status(ctx->inputs[i]) == AVERROR_EOF) s->in[i].eof = 1; - } } for (i = 1; i < s->nb_inputs; i++) {