summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-07-09 10:34:11 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-07-19 13:26:46 -0400
commita06fdadd97778fe50713c2762714cbd8b0eb81b6 (patch)
tree40e64d8e569c2f615520a3d6dde40d20693fde42 /libavcodec/alac.c
parentd9837434a91dbb3632df335414aad538e5b0a6e9 (diff)
alac: cosmetics: reindent after last commit
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 76ef4998d6..84f7e42373 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -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;
}