summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-28 14:22:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:21:00 +0100
commit33f78e278b22c32c3e214a09b0b9da49adf5ee63 (patch)
tree74107666fa48b97d3a189c3abad2fb0a4f73ad48 /libavfilter
parente212f0c00077dae75d662caa296b94df96e6e2c4 (diff)
downloadffmpeg-33f78e278b22c32c3e214a09b0b9da49adf5ee63.tar.gz
avfilter/af_headphone: Remove always true check
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 709fca0a9415ea97cd1d49d67298b8c8728a7aec)
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_headphone.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c
index 72d4a7beb7..ea09294932 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++) {