28 static const int p[5][3] = {
37 for (i = 0; i <
sizeof(buf); i++)
40 for (i = 0; i < 5; i++) {
42 printf(
"crc %08X = %X\n", p[i][1],
av_crc(ctx, 0, buf,
sizeof(buf)));
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.