1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavfi/avf_concat: return immediately after requesting a frame on input.

This commit is contained in:
Nicolas George 2015-10-23 12:36:17 +02:00
parent d92e0848d9
commit 79c1be124e

View File

@ -347,10 +347,9 @@ static int request_frame(AVFilterLink *outlink)
if (cat->in[str].eof)
continue;
ret = ff_request_frame(ctx->inputs[str]);
if (ret == AVERROR_EOF)
close_input(ctx, str);
else if (ret < 0)
if (ret != AVERROR_EOF)
return ret;
close_input(ctx, str);
}
ret = flush_segment(ctx);
if (ret < 0)