From 3dddf21fcc8b4fc7fcd13bb0928c114df5842381 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 26 Aug 2006 11:26:54 +0000 Subject: [PATCH] 3rd try :) Originally committed as revision 6095 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/bitstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h index 654f259..ed8c8fc 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; -- 2.7.4