Skip to content
Snippets Groups Projects
Commit 7679c38b authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

tests/api/api-seek-test: check all compute_crc_of_packets() calls

parent 5952b8da
No related branches found
No related tags found
No related merge requests found
...@@ -248,10 +248,11 @@ static int seek_test(const char *input_filename, const char *start, const char * ...@@ -248,10 +248,11 @@ static int seek_test(const char *input_filename, const char *start, const char *
return -1; return -1;
for (i = start_ts; i < end_ts; i += 100) { for (i = start_ts; i < end_ts; i += 100) {
for (j = i + 100; j < end_ts; j += 100) for (j = i + 100; j < end_ts; j += 100) {
result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, fr, i, j, 0); result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, fr, i, j, 0);
if (result != 0) if (result != 0)
return -1; return -1;
}
} }
av_freep(&crc_array); av_freep(&crc_array);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment