diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-02-22 19:44:05 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-02-22 19:44:05 +0000 |
| commit | 398b37124e870b3be69a03e5d89c5887204d6990 (patch) | |
| tree | 2f8da4ae1b5a47db97a298db5e6ffa916beed90b /apps/codecs/liba52/bitstream.h | |
| parent | c1bb06c3af4c5277e4a08c0084da86a69bc9d127 (diff) | |
| download | rockbox-398b37124e870b3be69a03e5d89c5887204d6990.zip rockbox-398b37124e870b3be69a03e5d89c5887204d6990.tar.gz rockbox-398b37124e870b3be69a03e5d89c5887204d6990.tar.bz2 rockbox-398b37124e870b3be69a03e5d89c5887204d6990.tar.xz | |
Remove all tabs within codec path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/liba52/bitstream.h')
| -rw-r--r-- | apps/codecs/liba52/bitstream.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/codecs/liba52/bitstream.h b/apps/codecs/liba52/bitstream.h index 88f8fc4..c316a97 100644 --- a/apps/codecs/liba52/bitstream.h +++ b/apps/codecs/liba52/bitstream.h @@ -30,11 +30,11 @@ int32_t a52_bitstream_get_bh_2 (a52_state_t * state, uint32_t num_bits); static inline uint32_t bitstream_get (a52_state_t * state, uint32_t num_bits) { uint32_t result; - + if (num_bits < state->bits_left) { - result = (state->current_word << (32 - state->bits_left)) >> (32 - num_bits); - state->bits_left -= num_bits; - return result; + result = (state->current_word << (32 - state->bits_left)) >> (32 - num_bits); + state->bits_left -= num_bits; + return result; } return a52_bitstream_get_bh (state, num_bits); @@ -43,11 +43,11 @@ static inline uint32_t bitstream_get (a52_state_t * state, uint32_t num_bits) static inline int32_t bitstream_get_2 (a52_state_t * state, uint32_t num_bits) { int32_t result; - + if (num_bits < state->bits_left) { - result = (((int32_t)state->current_word) << (32 - state->bits_left)) >> (32 - num_bits); - state->bits_left -= num_bits; - return result; + result = (((int32_t)state->current_word) << (32 - state->bits_left)) >> (32 - num_bits); + state->bits_left -= num_bits; + return result; } return a52_bitstream_get_bh_2 (state, num_bits); |