OSDN Git Service

alac: cosmetics: reindent after last commit
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 9 Jul 2012 14:34:11 +0000 (10:34 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 19 Jul 2012 17:26:46 +0000 (13:26 -0400)
libavcodec/alac.c

index 76ef499..84f7e42 100644 (file)
@@ -85,16 +85,16 @@ static inline int decode_scalar(GetBitContext *gb, int k, int readsamplesize)
         /* use alternative encoding */
         x = get_bits(gb, readsamplesize);
     } else if (k != 1) {
-            int extrabits = show_bits(gb, k);
+        int extrabits = show_bits(gb, k);
 
-            /* multiply x by 2^k - 1, as part of their strange algorithm */
-            x = (x << k) - x;
+        /* multiply x by 2^k - 1, as part of their strange algorithm */
+        x = (x << k) - x;
 
-            if (extrabits > 1) {
-                x += extrabits - 1;
-                skip_bits(gb, k);
-            } else
-                skip_bits(gb, k - 1);
+        if (extrabits > 1) {
+            x += extrabits - 1;
+            skip_bits(gb, k);
+        } else
+            skip_bits(gb, k - 1);
     }
     return x;
 }