reindent after last commit
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 14 Mar 2007 11:13:17 +0000 (11:13 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 14 Mar 2007 11:13:17 +0000 (11:13 +0000)
Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 70ec5d3..4fd8e87 100644 (file)
@@ -8051,17 +8051,17 @@ static int h264_parse(AVCodecParserContext *s,
     if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){
         next= buf_size;
     }else{
-    next= find_frame_end(h, buf, buf_size);
+        next= find_frame_end(h, buf, buf_size);
 
-    if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) {
-        *poutbuf = NULL;
-        *poutbuf_size = 0;
-        return buf_size;
-    }
+        if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) {
+            *poutbuf = NULL;
+            *poutbuf_size = 0;
+            return buf_size;
+        }
 
-    if(next<0){
-        find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state
-    }
+        if(next<0){
+            find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state
+        }
     }
 
     *poutbuf = (uint8_t *)buf;