Skip to content
Snippets Groups Projects
Commit 777a9521 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix windows build

parent d4da3036
No related branches found
No related tags found
1 merge request!327Resolves #372 Frameset already completed issues
Pipeline #28824 passed
This commit is part of merge request !327. Comments created here will be created in the context of that merge request.
......@@ -262,7 +262,7 @@ bool File::tick(int64_t ts) {
for (int j=spkt.frame_number; j<spkt.frame_number+pkt.frame_count; ++j) ++packet_counts_[j];
} else {
// Add frameset packets to frame 0 counts
frame_count = std::max(frame_count, 1ul);
frame_count = std::max(frame_count, size_t(1));
while (packet_counts_.size() < frame_count) packet_counts_.push_back(0);
++packet_counts_[0];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment