Commit 4883e5d5 authored by Nicolas George's avatar Nicolas George

lavfi/vf_yadif: remove looping on request_frame().

parent 86b8a82f
......@@ -379,15 +379,15 @@ static int request_frame(AVFilterLink *link)
{
AVFilterContext *ctx = link->src;
YADIFContext *yadif = ctx->priv;
int ret;
if (yadif->frame_pending) {
return_frame(ctx, 1);
return 0;
}
do {
int ret;
/* TODO reindent */
if (yadif->eof)
return AVERROR_EOF;
......@@ -406,7 +406,6 @@ static int request_frame(AVFilterLink *link)
} else if (ret < 0) {
return ret;
}
} while (!yadif->prev);
return 0;
}
......
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