diff bitstream.h @ 3631:40f753fc46a4 libavcodec

3rd try :)
author michael
date Sat, 26 Aug 2006 11:26:54 +0000
parents 8e284a5ec5e1
children 25ceb2cc950d
line wrap: on
line diff
--- a/bitstream.h	Sat Aug 26 11:06:33 2006 +0000
+++ b/bitstream.h	Sat Aug 26 11:26:54 2006 +0000
@@ -580,7 +580,7 @@
 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;