[FFmpeg-cvslog] r11700 - trunk/libavutil/crc.c
michael
subversion
Fri Feb 1 02:33:16 CET 2008
Author: michael
Date: Fri Feb 1 02:33:16 2008
New Revision: 11700
Log:
Dont cast const away.
Modified:
trunk/libavutil/crc.c
Modified: trunk/libavutil/crc.c
==============================================================================
--- trunk/libavutil/crc.c (original)
+++ trunk/libavutil/crc.c Fri Feb 1 02:33:16 2008
@@ -115,7 +115,7 @@ uint32_t av_crc(const AVCRC *ctx, uint32
#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)]
More information about the ffmpeg-cvslog
mailing list