Showing the changes to tests/api (1 of 1 file). Show all
Unified · Split
| @@ -129,7 +129,7 @@ static int compute_crc_of_packets(AVFormatContext *fmt_ctx, int video_stream, · 128 unmodified lines | ||
| 129 | 129 | av_log(NULL, AV_LOG_ERROR, "Can't copy image to buffer\n"); |
| 130 | 130 | return number_of_written_bytes; |
| 131 | 131 | } |
| 132 | − if ((fr->pts > ts_end) && (!no_seeking)) | |
| 132 | + if ((!no_seeking) && (fr->pts > ts_end)) | |
| 133 | 133 | break; |
| 134 | 134 | crc = av_adler32_update(0, (const uint8_t*)byte_buffer, number_of_written_bytes); |
| 135 | 135 | printf("%10"PRId64", 0x%08lx\n", fr->pts, crc); |