Lines Matching defs:crc
37 static int add_crc_to_array(uint32_t crc, int64_t pts)
50 crc_array[number_of_elements] = crc;
56 static int compare_crc_in_array(uint32_t crc, int64_t pts)
61 if (crc_array[i] == crc) {
62 printf("Comparing 0x%08"PRIx32" %"PRId64" %d is OK\n", crc, pts, i);
66 av_log(NULL, AV_LOG_ERROR, "Incorrect crc of a frame after seeking\n");
83 uint32_t crc;
94 printf("Seeking to %"PRId64", computing crc for frames with pts < %"PRId64"\n", ts_start, ts_end);
147 crc = av_adler32_update(0, (const uint8_t*)byte_buffer, number_of_written_bytes);
148 printf("%10"PRId64", 0x%08"PRIx32"\n", fr->pts, crc);
150 if (add_crc_to_array(crc, fr->pts) < 0)
154 if (compare_crc_in_array(crc, fr->pts) < 0)