Mercurial > libavcodec.hg
comparison flac.c @ 1860:7072086a0dd3 libavcodec
* const warn elimintation
author | kabi |
---|---|
date | Fri, 05 Mar 2004 14:08:33 +0000 |
parents | 93029a89c173 |
children | 129236143f2e |
comparison
equal
deleted
inserted
replaced
1859:17a445838da3 | 1860:7072086a0dd3 |
---|---|
131 val|= tmp&0x3F; | 131 val|= tmp&0x3F; |
132 } | 132 } |
133 return val; | 133 return val; |
134 } | 134 } |
135 | 135 |
136 static int get_crc8(uint8_t *buf, int count){ | 136 static int get_crc8(const uint8_t *buf, int count){ |
137 int crc=0; | 137 int crc=0; |
138 int i; | 138 int i; |
139 | 139 |
140 for(i=0; i<count; i++){ | 140 for(i=0; i<count; i++){ |
141 crc = table_crc8[crc ^ buf[i]]; | 141 crc = table_crc8[crc ^ buf[i]]; |