lavfi/vf_w3fdif: reindent after last commit.
This commit is contained in:
parent
d7849248dd
commit
90d087247c
@ -353,25 +353,23 @@ static int request_frame(AVFilterLink *outlink)
|
|||||||
{
|
{
|
||||||
AVFilterContext *ctx = outlink->src;
|
AVFilterContext *ctx = outlink->src;
|
||||||
W3FDIFContext *s = ctx->priv;
|
W3FDIFContext *s = ctx->priv;
|
||||||
|
int ret;
|
||||||
|
|
||||||
/* TODO reindent */
|
if (s->eof)
|
||||||
int ret;
|
return AVERROR_EOF;
|
||||||
|
|
||||||
if (s->eof)
|
ret = ff_request_frame(ctx->inputs[0]);
|
||||||
return AVERROR_EOF;
|
|
||||||
|
|
||||||
ret = ff_request_frame(ctx->inputs[0]);
|
if (ret == AVERROR_EOF && s->cur) {
|
||||||
|
AVFrame *next = av_frame_clone(s->next);
|
||||||
if (ret == AVERROR_EOF && s->cur) {
|
if (!next)
|
||||||
AVFrame *next = av_frame_clone(s->next);
|
return AVERROR(ENOMEM);
|
||||||
if (!next)
|
next->pts = s->next->pts * 2 - s->cur->pts;
|
||||||
return AVERROR(ENOMEM);
|
filter_frame(ctx->inputs[0], next);
|
||||||
next->pts = s->next->pts * 2 - s->cur->pts;
|
s->eof = 1;
|
||||||
filter_frame(ctx->inputs[0], next);
|
} else if (ret < 0) {
|
||||||
s->eof = 1;
|
return ret;
|
||||||
} else if (ret < 0) {
|
}
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user