Unverified 提交 4fa59dc6 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: GitHub
上级 1ebf7ba3
...@@ -455,7 +455,7 @@ namespace RTC ...@@ -455,7 +455,7 @@ namespace RTC
size_t representedPackets{ 0u }; size_t representedPackets{ 0u };
// Fill statuses vector. // Fill statuses vector.
for (uint8_t i{ 0u }; i < missingPackets && this->context.statuses.size() < 7; ++i) for (uint16_t i{ 0u }; i < missingPackets && this->context.statuses.size() < 7; ++i)
{ {
this->context.statuses.emplace_back(Status::NotReceived); this->context.statuses.emplace_back(Status::NotReceived);
representedPackets++; representedPackets++;
......
...@@ -89,7 +89,7 @@ namespace RTC ...@@ -89,7 +89,7 @@ namespace RTC
// Iterate all temporal layers of spatial layers previous to the given one. // Iterate all temporal layers of spatial layers previous to the given one.
for (uint8_t sIdx{ 0u }; sIdx < spatialLayer; ++sIdx) for (uint8_t sIdx{ 0u }; sIdx < spatialLayer; ++sIdx)
{ {
for (uint8_t tIdx{ 0u }; tIdx < this->spatialLayerCounters[sIdx].size(); ++tIdx) for (size_t tIdx{ 0u }; tIdx < this->spatialLayerCounters[sIdx].size(); ++tIdx)
{ {
auto& temporalLayerCounter = this->spatialLayerCounters[sIdx][tIdx]; auto& temporalLayerCounter = this->spatialLayerCounters[sIdx][tIdx];
...@@ -118,7 +118,7 @@ namespace RTC ...@@ -118,7 +118,7 @@ namespace RTC
// clang-format off // clang-format off
for ( for (
uint8_t tIdx{ 0u }; size_t tIdx{ 0u };
tIdx < this->spatialLayerCounters[spatialLayer].size(); tIdx < this->spatialLayerCounters[spatialLayer].size();
++tIdx ++tIdx
) )
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论