diff options
author | Nicolas George <george@nsup.org> | 2015-10-02 16:17:56 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-10-07 19:05:13 +0200 |
commit | 90d087247c20adbd64d641c09a2e2cb40d454b46 (patch) | |
tree | c0f4844158fa5381361e8d4587c6f3bdf6e28542 /libavfilter/vf_w3fdif.c | |
parent | d7849248dd0db4fb967188bbefb4d044de85b947 (diff) | |
download | ffmpeg-90d087247c20adbd64d641c09a2e2cb40d454b46.tar.gz |
lavfi/vf_w3fdif: reindent after last commit.
Diffstat (limited to 'libavfilter/vf_w3fdif.c')
-rw-r--r-- | libavfilter/vf_w3fdif.c | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c index e394d552e9..5b105f1ff8 100644 --- a/libavfilter/vf_w3fdif.c +++ b/libavfilter/vf_w3fdif.c @@ -353,25 +353,23 @@ static int request_frame(AVFilterLink *outlink) { AVFilterContext *ctx = outlink->src; W3FDIFContext *s = ctx->priv; + int ret; - /* TODO reindent */ - int ret; - - if (s->eof) - return AVERROR_EOF; + if (s->eof) + return AVERROR_EOF; - ret = ff_request_frame(ctx->inputs[0]); + ret = ff_request_frame(ctx->inputs[0]); - if (ret == AVERROR_EOF && s->cur) { - AVFrame *next = av_frame_clone(s->next); - if (!next) - return AVERROR(ENOMEM); - next->pts = s->next->pts * 2 - s->cur->pts; - filter_frame(ctx->inputs[0], next); - s->eof = 1; - } else if (ret < 0) { - return ret; - } + if (ret == AVERROR_EOF && s->cur) { + AVFrame *next = av_frame_clone(s->next); + if (!next) + return AVERROR(ENOMEM); + next->pts = s->next->pts * 2 - s->cur->pts; + filter_frame(ctx->inputs[0], next); + s->eof = 1; + } else if (ret < 0) { + return ret; + } return 0; } |