Commit ea2fd42f authored by Nicolas George's avatar Nicolas George

lavfi/vf_thumbnail: reindent after last commit.

parent 90d08724
...@@ -171,17 +171,16 @@ static int request_frame(AVFilterLink *link) ...@@ -171,17 +171,16 @@ static int request_frame(AVFilterLink *link)
{ {
AVFilterContext *ctx = link->src; AVFilterContext *ctx = link->src;
ThumbContext *s = ctx->priv; ThumbContext *s = ctx->priv;
int ret = ff_request_frame(ctx->inputs[0]);
/* TODO reindent */ if (ret == AVERROR_EOF && s->n) {
int ret = ff_request_frame(ctx->inputs[0]); ret = ff_filter_frame(link, get_best_frame(ctx));
if (ret == AVERROR_EOF && s->n) {
ret = ff_filter_frame(link, get_best_frame(ctx));
if (ret < 0)
return ret;
ret = AVERROR_EOF;
}
if (ret < 0) if (ret < 0)
return ret; return ret;
ret = AVERROR_EOF;
}
if (ret < 0)
return ret;
return 0; 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