comparison bitstream.h @ 3631:40f753fc46a4 libavcodec

3rd try :)
author michael
date Sat, 26 Aug 2006 11:26:54 +0000
parents 8e284a5ec5e1
children 25ceb2cc950d
comparison
equal deleted inserted replaced
3630:8e284a5ec5e1 3631:40f753fc46a4
578 } 578 }
579 579
580 static inline void skip_bits_long(GetBitContext *s, int n){ 580 static inline void skip_bits_long(GetBitContext *s, int n){
581 OPEN_READER(re, s) 581 OPEN_READER(re, s)
582 re_bit_count += n; 582 re_bit_count += n;
583 re_buffer_ptr += s->bit_count>>5; 583 re_buffer_ptr += re_bit_count>>5;
584 re_bit_count &= 31; 584 re_bit_count &= 31;
585 re_cache0 = be2me_32( re_buffer_ptr[-1] ) << re_bit_count; 585 re_cache0 = be2me_32( re_buffer_ptr[-1] ) << re_bit_count;
586 re_cache1 = 0; 586 re_cache1 = 0;
587 UPDATE_CACHE(re, s) 587 UPDATE_CACHE(re, s)
588 CLOSE_READER(re, s) 588 CLOSE_READER(re, s)