Commit 69d67fb6 authored by Nicolas George's avatar Nicolas George

lavfi: reindent after last commit.

parent 79d8cfac
......@@ -326,16 +326,15 @@ int ff_request_frame(AVFilterLink *link)
av_assert0(!link->frame_requested);
link->frame_requested = 1;
while (link->frame_requested) {
/* TODO reindent */
if (link->srcpad->request_frame)
ret = link->srcpad->request_frame(link);
else if (link->src->inputs[0])
ret = ff_request_frame(link->src->inputs[0]);
if (ret == AVERROR_EOF && link->partial_buf) {
AVFrame *pbuf = link->partial_buf;
link->partial_buf = NULL;
ret = ff_filter_frame_framed(link, pbuf);
}
if (link->srcpad->request_frame)
ret = link->srcpad->request_frame(link);
else if (link->src->inputs[0])
ret = ff_request_frame(link->src->inputs[0]);
if (ret == AVERROR_EOF && link->partial_buf) {
AVFrame *pbuf = link->partial_buf;
link->partial_buf = NULL;
ret = ff_filter_frame_framed(link, pbuf);
}
if (ret < 0) {
link->frame_requested = 0;
if (ret == AVERROR_EOF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment