OSDN Git Service

Fix indentation.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 24 Apr 2011 22:02:36 +0000 (00:02 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 24 Apr 2011 22:20:03 +0000 (00:20 +0200)
libavcodec/h261_parser.c
libavcodec/h263_parser.c

index 4d20afe..3fb86db 100644 (file)
@@ -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;
index 2a00291..a3d24ea 100644 (file)
@@ -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;