[FFmpeg-cvslog] avfilter/af_headphone: Remove always true check

Andreas Rheinhardt git at videolan.org
Wed Sep 9 15:59:37 EEST 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Aug 28 14:22:43 2020 +0200| [709fca0a9415ea97cd1d49d67298b8c8728a7aec] | committer: Andreas Rheinhardt

avfilter/af_headphone: Remove always true check

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=709fca0a9415ea97cd1d49d67298b8c8728a7aec
---

 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++) {



More information about the ffmpeg-cvslog mailing list