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

RtpPacket.cpp: cosmetic

上级 7c90deaa
...@@ -48,7 +48,7 @@ namespace RTC ...@@ -48,7 +48,7 @@ namespace RTC
ExtensionHeader* extensionHeader{ nullptr }; ExtensionHeader* extensionHeader{ nullptr };
size_t extensionValueSize{ 0 }; size_t extensionValueSize{ 0 };
if (header->extension != 0u) if (header->extension == 1u)
{ {
// The extension header is at least 4 bytes. // The extension header is at least 4 bytes.
if (len < static_cast<size_t>(ptr - data) + 4) if (len < static_cast<size_t>(ptr - data) + 4)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论