mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Dont cast const away.
Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f49299967b
commit
070144671d
@ -115,7 +115,7 @@ uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t le
|
||||
#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)]
|
||||
|
Loading…
Reference in New Issue
Block a user