Mercurial > libavutil.hg
changeset 442:12f0072323ce libavutil
Dont cast const away.
author | michael |
---|---|
date | Fri, 01 Feb 2008 01:33:16 +0000 |
parents | 6335e6e63d91 |
children | 864980df1385 |
files | crc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/crc.c Thu Jan 31 20:52:14 2008 +0000 +++ b/crc.c Fri Feb 01 01:33:16 2008 +0000 @@ -115,7 +115,7 @@ #ifndef CONFIG_SMALL if(!ctx[256]) while(buffer<end-3){ - crc ^= le2me_32(*(uint32_t*)buffer); buffer+=4; + crc ^= le2me_32(*(const uint32_t*)buffer); buffer+=4; crc = ctx[3*256 + ( crc &0xFF)] ^ctx[2*256 + ((crc>>8 )&0xFF)] ^ctx[1*256 + ((crc>>16)&0xFF)]