Revision 07014467 libavutil/crc.c

View differences:

libavutil/crc.c
115 115
#ifndef CONFIG_SMALL
116 116
    if(!ctx[256])
117 117
        while(buffer<end-3){
118
            crc ^= le2me_32(*(uint32_t*)buffer); buffer+=4;
118
            crc ^= le2me_32(*(const uint32_t*)buffer); buffer+=4;
119 119
            crc =  ctx[3*256 + ( crc     &0xFF)]
120 120
                  ^ctx[2*256 + ((crc>>8 )&0xFF)]
121 121
                  ^ctx[1*256 + ((crc>>16)&0xFF)]

Also available in: Unified diff