mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 04:15:05 +00:00
tests/api/api-seek-test: check all compute_crc_of_packets() calls
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
5952b8da0b
commit
7679c38b3b
@ -248,10 +248,11 @@ static int seek_test(const char *input_filename, const char *start, const char *
|
||||
return -1;
|
||||
|
||||
for (i = start_ts; i < end_ts; i += 100) {
|
||||
for (j = i + 100; j < end_ts; j += 100)
|
||||
result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, fr, i, j, 0);
|
||||
if (result != 0)
|
||||
return -1;
|
||||
for (j = i + 100; j < end_ts; j += 100) {
|
||||
result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, fr, i, j, 0);
|
||||
if (result != 0)
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
av_freep(&crc_array);
|
||||
|
Loading…
Reference in New Issue
Block a user