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

Fix crash in RtpPacket::Dump()

上级 6c828a7a
...@@ -181,7 +181,10 @@ namespace RTC ...@@ -181,7 +181,10 @@ namespace RTC
{ {
for (const auto& extension : this->oneByteExtensions) for (const auto& extension : this->oneByteExtensions)
{ {
extIds.push_back(std::to_string(extension->id)); if (extension != nullptr)
{
extIds.push_back(std::to_string(extension->id));
}
} }
} }
else else
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论