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

Måns Rullgård mans
Thu Jun 18 18:26:59 CEST 2009


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> 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?

intptr_t is used in 29 places, and FATE isn't reporting any problems.
Whatever issue might have been, it's gone now.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list