[FFmpeg-soc] [soc]: r3276 - wmapro/wma3dec.c
faust3
subversion at mplayerhq.hu
Thu Aug 14 19:51:38 CEST 2008
Author: faust3
Date: Thu Aug 14 19:51:38 2008
New Revision: 3276
Log:
use get_bits_long
Modified:
wmapro/wma3dec.c
Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c (original)
+++ wmapro/wma3dec.c Thu Aug 14 19:51:38 2008
@@ -315,12 +315,12 @@ static int wma_decode_tilehdr(WMA3Decode
contains a subframe with the next subframe_len */
while(total_num_bits){
int num_bits = total_num_bits;
- if(num_bits > 24)
- num_bits = 24;
- tileinfo |= get_bits(gb,num_bits);
+ if(num_bits > 32)
+ num_bits = 32;
+ tileinfo |= get_bits_long(gb,num_bits);
total_num_bits -= num_bits;
num_bits = total_num_bits;
- tileinfo <<= (num_bits > 24)? 24 : num_bits;
+ tileinfo <<= (num_bits > 32)? 32 : num_bits;
}
}
More information about the FFmpeg-soc
mailing list