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

pull/160/head
Nicolas George 9 years ago
parent d92e0848d9
commit 79c1be124e
  1. 5
      libavfilter/avf_concat.c

@ -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)

Loading…
Cancel
Save