[FFmpeg-devel] [PATCH 02/25] avfilter/af_headphone: Remove always true check

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Sep 9 00:18:33 EEST 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 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++) {
-- 
2.20.1



More information about the ffmpeg-devel mailing list