1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

2nd try for a skip_bits_long() for the A32 reader

Originally committed as revision 6094 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2006-08-26 11:06:33 +00:00
parent 5a7bd28335
commit 1491e21cdb

View File

@@ -582,14 +582,9 @@ static inline void skip_bits_long(GetBitContext *s, int n){
re_bit_count += n; re_bit_count += n;
re_buffer_ptr += s->bit_count>>5; re_buffer_ptr += s->bit_count>>5;
re_bit_count &= 31; re_bit_count &= 31;
if(re_bit_count<=0){ re_cache0 = be2me_32( re_buffer_ptr[-1] ) << re_bit_count;
re_bit_count += 32; re_cache1 = 0;
re_buffer_ptr--;
}
re_cache0=
re_cache1= 0;
UPDATE_CACHE(re, s) UPDATE_CACHE(re, s)
re_cache1= 0;
CLOSE_READER(re, s) CLOSE_READER(re, s)
} }