[FFmpeg-cvslog] lavfi/vf_w3fdif: remove looping on request_frame().

Nicolas George git at videolan.org
Wed Oct 7 19:08:35 CEST 2015


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Fri Oct  2 16:17:41 2015 +0200| [86b8a82f4f9c181189bf4309e67544caf233ad54] | committer: Nicolas George

lavfi/vf_w3fdif: remove looping on request_frame().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86b8a82f4f9c181189bf4309e67544caf233ad54
---

 libavfilter/vf_w3fdif.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c
index 849a3c0..e394d55 100644
--- a/libavfilter/vf_w3fdif.c
+++ b/libavfilter/vf_w3fdif.c
@@ -354,7 +354,7 @@ static int request_frame(AVFilterLink *outlink)
     AVFilterContext *ctx = outlink->src;
     W3FDIFContext *s = ctx->priv;
 
-    do {
+    /* TODO reindent */
         int ret;
 
         if (s->eof)
@@ -372,7 +372,6 @@ static int request_frame(AVFilterLink *outlink)
         } else if (ret < 0) {
             return ret;
         }
-    } while (!s->cur);
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list