ffmpeg | branch: master | Nicolas George <geo...@nsup.org> | Fri Oct 2 15:54:41 2015 +0200| [4883e5d54012e76d47d6781b2178de53afdea8f6] | committer: Nicolas George
lavfi/vf_yadif: remove looping on request_frame(). > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4883e5d54012e76d47d6781b2178de53afdea8f6 --- libavfilter/vf_yadif.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index d7a2b53..c32c065 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_yadif.c @@ -379,15 +379,15 @@ static int request_frame(AVFilterLink *link) { AVFilterContext *ctx = link->src; YADIFContext *yadif = ctx->priv; + int ret; if (yadif->frame_pending) { return_frame(ctx, 1); return 0; } - do { - int ret; + /* TODO reindent */ if (yadif->eof) return AVERROR_EOF; @@ -406,7 +406,6 @@ static int request_frame(AVFilterLink *link) } else if (ret < 0) { return ret; } - } while (!yadif->prev); return 0; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog