[FFmpeg-cvslog] lavfi: reindent after last commit.

Nicolas George git at videolan.org
Wed Apr 3 18:36:33 CEST 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Wed Apr  3 17:43:53 2013 +0200| [69d67fb622b67b2f978725d5fc07ab1571e632dd] | committer: Nicolas George

lavfi: reindent after last commit.

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

 libavfilter/avfilter.c |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f621941..b689fbe 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -326,16 +326,15 @@ int ff_request_frame(AVFilterLink *link)
     av_assert0(!link->frame_requested);
     link->frame_requested = 1;
     while (link->frame_requested) {
-        /* TODO reindent */
-    if (link->srcpad->request_frame)
-        ret = link->srcpad->request_frame(link);
-    else if (link->src->inputs[0])
-        ret = ff_request_frame(link->src->inputs[0]);
-    if (ret == AVERROR_EOF && link->partial_buf) {
-        AVFrame *pbuf = link->partial_buf;
-        link->partial_buf = NULL;
-        ret = ff_filter_frame_framed(link, pbuf);
-    }
+        if (link->srcpad->request_frame)
+            ret = link->srcpad->request_frame(link);
+        else if (link->src->inputs[0])
+            ret = ff_request_frame(link->src->inputs[0]);
+        if (ret == AVERROR_EOF && link->partial_buf) {
+            AVFrame *pbuf = link->partial_buf;
+            link->partial_buf = NULL;
+            ret = ff_filter_frame_framed(link, pbuf);
+        }
         if (ret < 0) {
             link->frame_requested = 0;
             if (ret == AVERROR_EOF)



More information about the ffmpeg-cvslog mailing list