summaryrefslogtreecommitdiff
path: root/libavcodec/bitstream.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-26 11:26:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-26 11:26:54 +0000
commit3dddf21fcc8b4fc7fcd13bb0928c114df5842381 (patch)
tree0f3cac367a95401f079ab64c8d0bbdde07ad7632 /libavcodec/bitstream.h
parent1491e21cdba9797f627165dfc881ab847be7d101 (diff)
3rd try :)
Originally committed as revision 6095 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.h')
-rw-r--r--libavcodec/bitstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 654f259463..ed8c8fcdd1 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -580,7 +580,7 @@ static inline int get_bits_count(GetBitContext *s){
static inline void skip_bits_long(GetBitContext *s, int n){
OPEN_READER(re, s)
re_bit_count += n;
- re_buffer_ptr += s->bit_count>>5;
+ re_buffer_ptr += re_bit_count>>5;
re_bit_count &= 31;
re_cache0 = be2me_32( re_buffer_ptr[-1] ) << re_bit_count;
re_cache1 = 0;