28 static const unsigned p[6][3] = {
38 for (i = 0; i <
sizeof(
buf); i++)
41 for (i = 0; i < 6; i++) {
43 printf(
"crc %08X = %X\n", p[i][1],
av_crc(ctx, 0, buf,
sizeof(buf)));
Public header for CRC hash function implementation.
uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t length)
Calculate the CRC of a block.
const AVCRC * av_crc_get_table(AVCRCId crc_id)
Get an initialized standard CRC table.