diff options
Diffstat (limited to 'src/liba52/bitstream.h')
-rw-r--r-- | src/liba52/bitstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liba52/bitstream.h b/src/liba52/bitstream.h index f242c37c4..59f91cc0e 100644 --- a/src/liba52/bitstream.h +++ b/src/liba52/bitstream.h @@ -57,7 +57,7 @@ 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; @@ -70,7 +70,7 @@ 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; |