changeset 4060:e46fa0f9192a libavcodec

indention
author bcoudurier
date Sun, 22 Oct 2006 17:25:16 +0000
parents 219f4a12f52a
children e5d148036c87
files gifdec.c
diffstat 1 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/gifdec.c	Sun Oct 22 16:12:13 2006 +0000
+++ b/gifdec.c	Sun Oct 22 17:25:16 2006 +0000
@@ -251,19 +251,19 @@
         return -EINVAL;
 
     /* build the palette */
-        n = (1 << bits_per_pixel);
-        spal = palette;
-        for(i = 0; i < n; i++) {
-            s->image_palette[i] = (0xff << 24) |
-                (spal[0] << 16) | (spal[1] << 8) | (spal[2]);
-            spal += 3;
-        }
-        for(; i < 256; i++)
-            s->image_palette[i] = (0xff << 24);
-        /* handle transparency */
-        if (s->transparent_color_index >= 0)
-            s->image_palette[s->transparent_color_index] = 0;
-        line = NULL;
+    n = (1 << bits_per_pixel);
+    spal = palette;
+    for(i = 0; i < n; i++) {
+        s->image_palette[i] = (0xff << 24) |
+            (spal[0] << 16) | (spal[1] << 8) | (spal[2]);
+        spal += 3;
+    }
+    for(; i < 256; i++)
+        s->image_palette[i] = (0xff << 24);
+    /* handle transparency */
+    if (s->transparent_color_index >= 0)
+        s->image_palette[s->transparent_color_index] = 0;
+    line = NULL;
 
     /* now get the image data */
     code_size = bytestream_get_byte(&s->bytestream);
@@ -276,7 +276,7 @@
     pass = 0;
     y1 = 0;
     for (y = 0; y < height; y++) {
-            GLZWDecode(s, ptr, width);
+        GLZWDecode(s, ptr, width);
         if (is_interleaved) {
             switch(pass) {
             default: