Mercurial > libavformat.hg
comparison gif.c @ 1166:e89500dd9064 libavformat
remove STATS code (probably hasnt been used for years ..., and its not completely clear what it was good for anyway)
author | michael |
---|---|
date | Sun, 09 Jul 2006 10:33:49 +0000 |
parents | 6992dd78ff68 |
children | d89d7ef290da |
comparison
equal
deleted
inserted
replaced
1165:8ad5cc2ba4b8 | 1166:e89500dd9064 |
---|---|
111 static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value) | 111 static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value) |
112 { | 112 { |
113 unsigned int bit_buf; | 113 unsigned int bit_buf; |
114 int bit_cnt; | 114 int bit_cnt; |
115 | 115 |
116 #ifdef STATS | |
117 st_out_bit_counts[st_current_index] += n; | |
118 #endif | |
119 // printf("put_bits=%d %x\n", n, value); | 116 // printf("put_bits=%d %x\n", n, value); |
120 assert(n == 32 || value < (1U << n)); | 117 assert(n == 32 || value < (1U << n)); |
121 | 118 |
122 bit_buf = s->bit_buf; | 119 bit_buf = s->bit_buf; |
123 bit_cnt = 32 - s->bit_left; /* XXX:lazyness... was = s->bit_cnt; */ | 120 bit_cnt = 32 - s->bit_left; /* XXX:lazyness... was = s->bit_cnt; */ |