summaryrefslogtreecommitdiffstats
path: root/test/src/test-ffmpeg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/test-ffmpeg.cpp')
-rw-r--r--test/src/test-ffmpeg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/test-ffmpeg.cpp b/test/src/test-ffmpeg.cpp
index a8660e5..1c99aa5 100644
--- a/test/src/test-ffmpeg.cpp
+++ b/test/src/test-ffmpeg.cpp
@@ -339,7 +339,7 @@ int main(int argc, char **argv) {
if (frame)
frame->pts = 0;
- for (int i = 0; i < 125; i++) {
+ for (size_t i = 0; i < 125; i++) {
write_video_frame(oc, video_st);
frame->pts += av_rescale_q(1, video_st->codec->time_base, video_st->time_base);
}