30 int main(
int argc,
char **argv)
37 for (i = 0; i <
LEN; i++)
38 data[i] = ((i * i) >> 3) + 123 * i;
40 if (argc > 1 && !strcmp(argv[1],
"-t")) {
41 for (i = 0; i < 1000; i++) {
51 return checksum == 0x50e6e508 ? 0 : 1;
ptrdiff_t const GLvoid * data
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 libavutil Adler32 hasher.
int main(int argc, char **argv)