[FFmpeg-devel] [PATCH 2/2] lavu/hash: Fix CRC32 calculation

Paul B Mahol onemda at gmail.com
Wed May 15 23:09:40 CEST 2013


On 5/15/13, Reimar Doeffinger <Reimar.Doeffinger at gmx.de> wrote:
> On Wed, May 15, 2013 at 05:52:40PM -0300, James Almer wrote:
>> Initialize it with UIN32_MAX and xor the result with UINT32_MAX
>                        ^^
> typo.
> Apart from that I don't know of UINT32_MAX is available on e.g. VisualC.
> Personally I'd go with 0xffffffffu

UINT32_MAX is already used in many places.

> In principle it looks good to me though.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list