avfilter/af_headphone: Remove always true check

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/350/head
Andreas Rheinhardt 4 years ago
parent e2d4a5807f
commit 709fca0a94
  1. 2
      libavfilter/af_headphone.c

@ -631,11 +631,9 @@ static int activate(AVFilterContext *ctx)
if ((ret = check_ir(ctx->inputs[i], i)) < 0) if ((ret = check_ir(ctx->inputs[i], i)) < 0)
return ret; return ret;
if (!s->in[i].eof) {
if (ff_outlink_get_status(ctx->inputs[i]) == AVERROR_EOF) if (ff_outlink_get_status(ctx->inputs[i]) == AVERROR_EOF)
s->in[i].eof = 1; s->in[i].eof = 1;
} }
}
for (i = 1; i < s->nb_inputs; i++) { for (i = 1; i < s->nb_inputs; i++) {
if (!s->in[i].eof) if (!s->in[i].eof)

Loading…
Cancel
Save