提交 600b59a3 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

minor code cleanup

上级 c842e425
...@@ -273,7 +273,7 @@ namespace Utils ...@@ -273,7 +273,7 @@ namespace Utils
class Time class Time
{ {
// Seconds from Jan 1, 1900 to Jan 1, 1970 // Seconds from Jan 1, 1900 to Jan 1, 1970.
static constexpr uint32_t UnixNtpOffset = 0x83AA7E80; static constexpr uint32_t UnixNtpOffset = 0x83AA7E80;
// NTP fractional unit. // NTP fractional unit.
static constexpr double NtpFractionalUnit = 1LL<<32; static constexpr double NtpFractionalUnit = 1LL<<32;
......
...@@ -139,7 +139,7 @@ namespace RTC ...@@ -139,7 +139,7 @@ namespace RTC
MS_ASSERT(rtpParameters, "no RTP parameters given"); MS_ASSERT(rtpParameters, "no RTP parameters given");
auto hadParameters = this->rtpParameters ? true : false; bool hadParameters = this->rtpParameters ? true : false;
// Free the previous rtpParameters. // Free the previous rtpParameters.
if (hadParameters) if (hadParameters)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论