[FFmpeg-cvslog] r19160 - trunk/libavutil/crc.c

Reimar Döffinger Reimar.Doeffinger
Thu Jun 18 18:13:51 CEST 2009


On Fri, Jun 12, 2009 at 04:13:12AM +0200, heydowns wrote:
>  #if !CONFIG_SMALL
> -    if(!ctx[256])
> +    if(!ctx[256]) {
> +        while(((intptr_t) buffer & 3) && buffer < end)
> +            crc = ctx[((uint8_t)crc) ^ *buffer++] ^ (crc >> 8);

In the past we tried to avoid using intptr_t because supposedly
there were some issues with that. Does that no longer apply (then
quite a lot of places might be changed for consistency) or was using it
an oversight?



More information about the ffmpeg-cvslog mailing list