# HG changeset patch # User michael # Date 1156591614 0 # Node ID 40f753fc46a4f9f4d147b0946daee5bbd71900fe # Parent 8e284a5ec5e1e4f332daaafc5c7234f43443f0f0 3rd try :) diff -r 8e284a5ec5e1 -r 40f753fc46a4 bitstream.h --- 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;