summaryrefslogtreecommitdiffstats
path: root/liba52/bitstream.c
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-15 22:59:40 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-15 22:59:40 +0000
commitdb9186aa8a3165c5d269900747413d14c0dccd36 (patch)
tree62dbb8ebcfc19f8fb466692f4be72fea85c936e4 /liba52/bitstream.c
parentd686f4e3cf6f5d88ba7b727dcbbe0cc917a7491a (diff)
downloadmpv-db9186aa8a3165c5d269900747413d14c0dccd36.tar.bz2
mpv-db9186aa8a3165c5d269900747413d14c0dccd36.tar.xz
sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 2: cosmetic changes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18724 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'liba52/bitstream.c')
-rw-r--r--liba52/bitstream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/liba52/bitstream.c b/liba52/bitstream.c
index 6c275109d1..0b2d8fa48f 100644
--- a/liba52/bitstream.c
+++ b/liba52/bitstream.c
@@ -79,9 +79,9 @@ uint32_t a52_bitstream_get_bh (a52_state_t * state, uint32_t num_bits)
bitstream_fill_current (state);
- if(num_bits != 0)
+ if (num_bits != 0)
result = (result << num_bits) | (state->current_word >> (32 - num_bits));
-
+
state->bits_left = 32 - num_bits;
return result;
@@ -97,7 +97,7 @@ int32_t a52_bitstream_get_bh_2 (a52_state_t * state, uint32_t num_bits)
bitstream_fill_current(state);
- if(num_bits != 0)
+ if (num_bits != 0)
result = (result << num_bits) | (state->current_word >> (32 - num_bits));
state->bits_left = 32 - num_bits;