Mercurial > libavcodec.hg
comparison rangecoder.c @ 5934:bd5f4dc81fbe libavcodec
main() --> main(void)
| author | diego |
|---|---|
| date | Fri, 23 Nov 2007 00:52:56 +0000 |
| parents | 2b72f9bc4f06 |
| children | ecaf5226e9b0 |
comparison
equal
deleted
inserted
replaced
| 5933:6ce8f15fc02b | 5934:bd5f4dc81fbe |
|---|---|
| 109 return c->bytestream - c->bytestream_start; | 109 return c->bytestream - c->bytestream_start; |
| 110 } | 110 } |
| 111 | 111 |
| 112 #if 0 //selftest | 112 #if 0 //selftest |
| 113 #define SIZE 10240 | 113 #define SIZE 10240 |
| 114 int main(){ | 114 int main(void){ |
| 115 RangeCoder c; | 115 RangeCoder c; |
| 116 uint8_t b[9*SIZE]; | 116 uint8_t b[9*SIZE]; |
| 117 uint8_t r[9*SIZE]; | 117 uint8_t r[9*SIZE]; |
| 118 int i; | 118 int i; |
| 119 uint8_t state[10]= {0}; | 119 uint8_t state[10]= {0}; |
