[FFmpeg-cvslog] Fix indentation.

Reimar Döffinger git at videolan.org
Mon Apr 25 00:20:12 CEST 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Mon Apr 25 00:02:36 2011 +0200| [9a962f30556f8890a09cd668a9fe806ebac54206] | committer: Reimar Döffinger

Fix indentation.

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

 libavcodec/h261_parser.c |   12 ++++++------
 libavcodec/h263_parser.c |   12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/libavcodec/h261_parser.c b/libavcodec/h261_parser.c
index 4d20afe..3fb86db 100644
--- a/libavcodec/h261_parser.c
+++ b/libavcodec/h261_parser.c
@@ -73,12 +73,12 @@ static int h261_parse(AVCodecParserContext *s,
     if (s->flags & PARSER_FLAG_COMPLETE_FRAMES) {
         next = buf_size;
     } else {
-    next= h261_find_frame_end(pc,avctx, buf, buf_size);
-    if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
-        *poutbuf = NULL;
-        *poutbuf_size = 0;
-        return buf_size;
-    }
+        next= h261_find_frame_end(pc,avctx, buf, buf_size);
+        if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
+            *poutbuf = NULL;
+            *poutbuf_size = 0;
+            return buf_size;
+        }
     }
     *poutbuf = buf;
     *poutbuf_size = buf_size;
diff --git a/libavcodec/h263_parser.c b/libavcodec/h263_parser.c
index 2a00291..a3d24ea 100644
--- a/libavcodec/h263_parser.c
+++ b/libavcodec/h263_parser.c
@@ -73,13 +73,13 @@ static int h263_parse(AVCodecParserContext *s,
     if (s->flags & PARSER_FLAG_COMPLETE_FRAMES) {
         next = buf_size;
     } else {
-    next= ff_h263_find_frame_end(pc, buf, buf_size);
+        next= ff_h263_find_frame_end(pc, buf, buf_size);
 
-    if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
-        *poutbuf = NULL;
-        *poutbuf_size = 0;
-        return buf_size;
-    }
+        if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
+            *poutbuf = NULL;
+            *poutbuf_size = 0;
+            return buf_size;
+        }
     }
 
     *poutbuf = buf;



More information about the ffmpeg-cvslog mailing list