summaryrefslogtreecommitdiff
path: root/libavutil/crc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 01:33:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 01:33:16 +0000
commit070144671decc8be54e981ca8157694b41d1dcc3 (patch)
treeda7ad1b2bb41b6efad269260328ef0aa9b56df6e /libavutil/crc.c
parentf49299967b08d7b85035c47332c2ba388a43042b (diff)
Dont cast const away.
Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/crc.c')
-rw-r--r--libavutil/crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/crc.c b/libavutil/crc.c
index 1de67a6ad1..743a64038f 100644
--- a/libavutil/crc.c
+++ b/libavutil/crc.c
@@ -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)]