[Ffmpeg-cvslog] r6094 - trunk/libavcodec/bitstream.h
michael
subversion
Sat Aug 26 13:06:34 CEST 2006
Author: michael
Date: Sat Aug 26 13:06:33 2006
New Revision: 6094
Modified:
trunk/libavcodec/bitstream.h
Log:
2nd try for a skip_bits_long() for the A32 reader
Modified: trunk/libavcodec/bitstream.h
==============================================================================
--- trunk/libavcodec/bitstream.h (original)
+++ trunk/libavcodec/bitstream.h Sat Aug 26 13:06:33 2006
@@ -582,14 +582,9 @@
re_bit_count += n;
re_buffer_ptr += s->bit_count>>5;
re_bit_count &= 31;
- if(re_bit_count<=0){
- re_bit_count += 32;
- re_buffer_ptr--;
- }
- re_cache0=
- re_cache1= 0;
+ re_cache0 = be2me_32( re_buffer_ptr[-1] ) << re_bit_count;
+ re_cache1 = 0;
UPDATE_CACHE(re, s)
- re_cache1= 0;
CLOSE_READER(re, s)
}
More information about the ffmpeg-cvslog
mailing list