Browse Source

lavfi/vf_thumbnail: reindent after last commit.

tags/n3.0
Nicolas George 10 years ago
parent
commit
ea2fd42f9d
1 changed files with 7 additions and 8 deletions
  1. +7
    -8
      libavfilter/vf_thumbnail.c

+ 7
- 8
libavfilter/vf_thumbnail.c View File

@@ -171,17 +171,16 @@ static int request_frame(AVFilterLink *link)
{
AVFilterContext *ctx = link->src;
ThumbContext *s = ctx->priv;
int ret = ff_request_frame(ctx->inputs[0]);

/* TODO reindent */
int ret = ff_request_frame(ctx->inputs[0]);
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 == AVERROR_EOF && s->n) {
ret = ff_filter_frame(link, get_best_frame(ctx));
if (ret < 0)
return ret;
ret = AVERROR_EOF;
}
if (ret < 0)
return ret;
return 0;
}



Loading…
Cancel
Save