mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/af_headphone: Remove always true check
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
e2d4a5807f
commit
709fca0a94
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user