static inline void skip_bits(struct getbit_context *s, int n)
{
- /* gcc seems to optimize this to s->index+=n for the ALT_READER :)) */
- OPEN_READER(re, s)
- UPDATE_CACHE(re, s)
- SKIP_COUNTER(re, s, n)
- CLOSE_READER(re, s)
+ s->index += n;
}
static inline unsigned int get_bits1(struct getbit_context *s)