From 3f5f3524d478743a4c2f470f0baf7b767ce8d1c2 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Mon, 22 Feb 2010 21:02:57 +0000 Subject: Change liba52 and libmad to the original 8-spaced tabbing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24863 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/liba52/bitstream.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/codecs/liba52/bitstream.c') diff --git a/apps/codecs/liba52/bitstream.c b/apps/codecs/liba52/bitstream.c index f9f3ad7..155368f 100644 --- a/apps/codecs/liba52/bitstream.c +++ b/apps/codecs/liba52/bitstream.c @@ -66,12 +66,12 @@ uint32_t a52_bitstream_get_bh (a52_state_t * state, uint32_t num_bits) num_bits -= state->bits_left; result = ((state->current_word << (32 - state->bits_left)) >> - (32 - state->bits_left)); + (32 - state->bits_left)); bitstream_fill_current (state); if (num_bits != 0) - result = (result << num_bits) | (state->current_word >> (32 - num_bits)); + result = (result << num_bits) | (state->current_word >> (32 - num_bits)); state->bits_left = 32 - num_bits; @@ -84,13 +84,13 @@ int32_t a52_bitstream_get_bh_2 (a52_state_t * state, uint32_t num_bits) num_bits -= state->bits_left; result = ((((int32_t)state->current_word) << (32 - state->bits_left)) >> - (32 - state->bits_left)); + (32 - state->bits_left)); bitstream_fill_current(state); if (num_bits != 0) - result = (result << num_bits) | (state->current_word >> (32 - num_bits)); - + result = (result << num_bits) | (state->current_word >> (32 - num_bits)); + state->bits_left = 32 - num_bits; return result; -- cgit v1.1