提交 877a58d9 authored 作者: José Luis Millán's avatar José Luis Millán

Make clang-tidy happy

上级 566036b9
......@@ -489,7 +489,7 @@ namespace RTC
this->rtpTimestampManager.Sync(packet->GetTimestamp());
// Calculate RTP timestamp diff between now and last sent RTP packet.
if (this->rtpStream->GetMaxPacketMs())
if (this->rtpStream->GetMaxPacketMs() != 0u)
{
auto now = DepLibUV::GetTime();
auto diffMs = now - this->rtpStream->GetMaxPacketMs();
......
......@@ -38,7 +38,7 @@ namespace RTC
while (len > offset)
{
Item* item = FeedbackItem::Parse<Item>(data + offset, len - offset);
auto* item = FeedbackItem::Parse<Item>(data + offset, len - offset);
if (item)
{
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论