32 int main(
int argc,
char **argv)
39 for (i = 0; i <
LEN; i++)
40 data[i] = ((i * i) >> 3) + 123 * i;
42 if (argc > 1 && !strcmp(argv[1],
"-t")) {
43 for (i = 0; i < 1000; i++) {
53 return checksum == 0x50e6e508 ? 0 : 1;
void av_log_set_level(int level)
Set the log level.
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigned int len)
Calculate the Adler32 checksum of a buffer.
high precision timer, useful to profile code
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
static volatile int checksum
Public header for Adler-32 hash function implementation.
int main(int argc, char **argv)