[FFmpeg-devel] [PATCH 09/15] lavfi/vf_w3fdif: remove looping on request_frame().

Nicolas George george at nsup.org
Fri Oct 2 17:13:20 CEST 2015


Signed-off-by: Nicolas George <george at nsup.org>
---
 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;
 }
-- 
2.5.3



More information about the ffmpeg-devel mailing list