mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavfi/vf_yadif: reindent after last commit.
This commit is contained in:
parent
ea2fd42f9d
commit
8a9fa46e87
@ -386,26 +386,24 @@ static int request_frame(AVFilterLink *link)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (yadif->eof)
|
||||
return AVERROR_EOF;
|
||||
|
||||
/* TODO reindent */
|
||||
if (yadif->eof)
|
||||
return AVERROR_EOF;
|
||||
ret = ff_request_frame(link->src->inputs[0]);
|
||||
|
||||
ret = ff_request_frame(link->src->inputs[0]);
|
||||
if (ret == AVERROR_EOF && yadif->cur) {
|
||||
AVFrame *next = av_frame_clone(yadif->next);
|
||||
|
||||
if (ret == AVERROR_EOF && yadif->cur) {
|
||||
AVFrame *next = av_frame_clone(yadif->next);
|
||||
if (!next)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
if (!next)
|
||||
return AVERROR(ENOMEM);
|
||||
next->pts = yadif->next->pts * 2 - yadif->cur->pts;
|
||||
|
||||
next->pts = yadif->next->pts * 2 - yadif->cur->pts;
|
||||
|
||||
filter_frame(link->src->inputs[0], next);
|
||||
yadif->eof = 1;
|
||||
} else if (ret < 0) {
|
||||
return ret;
|
||||
}
|
||||
filter_frame(link->src->inputs[0], next);
|
||||
yadif->eof = 1;
|
||||
} else if (ret < 0) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user