[Ffmpeg-cvslog] r8399 - trunk/libavcodec/h264.c

bcoudurier subversion
Wed Mar 14 12:13:17 CET 2007


Author: bcoudurier
Date: Wed Mar 14 12:13:17 2007
New Revision: 8399

Modified:
   trunk/libavcodec/h264.c

Log:
reindent after last commit

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Wed Mar 14 12:13:17 2007
@@ -8051,17 +8051,17 @@ static int h264_parse(AVCodecParserConte
     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;




More information about the ffmpeg-cvslog mailing list