[SCM] libav/experimental: Dont cast const away.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:12:48 UTC 2013


The following commit has been merged in the experimental branch:
commit 070144671decc8be54e981ca8157694b41d1dcc3
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Feb 1 01:33:16 2008 +0000

    Dont cast const away.
    
    Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/crc.c b/libavutil/crc.c
index 1de67a6..743a640 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)]

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list