提交 7c07a1da authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

C++: Make Codacy even happier

上级 6e4307c8
......@@ -407,7 +407,6 @@ namespace RTC
{
auto* storageItem = this->buffer[seq];
RTC::RtpPacket* packet{ nullptr };
uint32_t diffTs;
uint32_t diffMs;
// Calculate how the elapsed time between the max timestampt seen and
......@@ -415,7 +414,9 @@ namespace RTC
if (storageItem)
{
packet = storageItem->packet;
diffTs = this->maxPacketTs - packet->GetTimestamp();
uint32_t diffTs = this->maxPacketTs - packet->GetTimestamp();
diffMs = diffTs * 1000 / this->params.clockRate;
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论