[FFmpeg-cvslog] r20117 - trunk/libavcodec/sgienc.c

diego subversion
Thu Oct 1 11:30:08 CEST 2009


Author: diego
Date: Thu Oct  1 11:30:08 2009
New Revision: 20117

Log:
Fix wrongly indented block.

Modified:
   trunk/libavcodec/sgienc.c

Modified: trunk/libavcodec/sgienc.c
==============================================================================
--- trunk/libavcodec/sgienc.c	Thu Oct  1 11:13:21 2009	(r20116)
+++ trunk/libavcodec/sgienc.c	Thu Oct  1 11:30:08 2009	(r20117)
@@ -142,18 +142,18 @@ static int encode_frame(AVCodecContext *
         }
 
         av_free(encode_buf);
-        } else {
-            for (z = 0; z < depth; z++) {
-                in_buf = p->data[0] + p->linesize[0] * (height - 1) + z;
+    } else {
+        for (z = 0; z < depth; z++) {
+            in_buf = p->data[0] + p->linesize[0] * (height - 1) + z;
 
-                for (y = 0; y < height; y++) {
-                    for (x = 0; x < width * depth; x += depth)
-                        bytestream_put_byte(&buf, in_buf[x]);
+            for (y = 0; y < height; y++) {
+                for (x = 0; x < width * depth; x += depth)
+                    bytestream_put_byte(&buf, in_buf[x]);
 
-                    in_buf -= p->linesize[0];
-                }
+                in_buf -= p->linesize[0];
             }
         }
+    }
 
     /* total length */
     return buf - orig_buf;



More information about the ffmpeg-cvslog mailing list