Commit d1dce1c5 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/crc: Fix type of p table so its content fits without overflwoing

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2c881c7d
......@@ -383,7 +383,8 @@ int main(void)
{
uint8_t buf[1999];
int i;
int p[6][3] = { { AV_CRC_32_IEEE_LE, 0xEDB88320, 0x3D5CDD04 },
unsigned
p[6][3] = { { AV_CRC_32_IEEE_LE, 0xEDB88320, 0x3D5CDD04 },
{ AV_CRC_32_IEEE , 0x04C11DB7, 0xC0F5BAE0 },
{ AV_CRC_24_IEEE , 0x864CFB , 0xB704CE },
{ AV_CRC_16_ANSI_LE, 0xA001 , 0xBFD8 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment