diff mjpeg_parser.c @ 10001:944156621f05 libavcodec

cosmetics, reindent
author bcoudurier
date Sun, 02 Aug 2009 08:46:43 +0000
parents 334d727f7f7a
children 878d449793e1
line wrap: on
line diff
--- a/mjpeg_parser.c	Sun Aug 02 08:46:11 2009 +0000
+++ b/mjpeg_parser.c	Sun Aug 02 08:46:43 2009 +0000
@@ -81,13 +81,13 @@
     if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){
         next= buf_size;
     }else{
-    next= find_frame_end(pc, buf, buf_size);
+        next= 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;