lavfi/avf_concat: return immediately after requesting a frame on input.
This commit is contained in:
parent
d92e0848d9
commit
79c1be124e
@ -347,10 +347,9 @@ static int request_frame(AVFilterLink *outlink)
|
|||||||
if (cat->in[str].eof)
|
if (cat->in[str].eof)
|
||||||
continue;
|
continue;
|
||||||
ret = ff_request_frame(ctx->inputs[str]);
|
ret = ff_request_frame(ctx->inputs[str]);
|
||||||
if (ret == AVERROR_EOF)
|
if (ret != AVERROR_EOF)
|
||||||
close_input(ctx, str);
|
|
||||||
else if (ret < 0)
|
|
||||||
return ret;
|
return ret;
|
||||||
|
close_input(ctx, str);
|
||||||
}
|
}
|
||||||
ret = flush_segment(ctx);
|
ret = flush_segment(ctx);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user