This commit is contained in:
twinaphex 2016-09-18 19:06:22 +02:00
parent f57e52b569
commit 4a39d98bbd

View File

@ -83,9 +83,7 @@ uint32_t encoding_crc32(uint32_t crc, const uint8_t *buf, size_t len)
crc = crc ^ 0xffffffff;
while (len--)
{
crc = crc32_table[(crc ^ (*buf++)) & 0xff] ^ (crc >> 8);
}
return crc ^ 0xffffffff;
}