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

improve syntax

上级 79f5339c
...@@ -267,6 +267,7 @@ namespace RTC ...@@ -267,6 +267,7 @@ namespace RTC
if (this->payloadDescriptor->tlIndex > context->GetTargetTemporalLayer()) if (this->payloadDescriptor->tlIndex > context->GetTargetTemporalLayer())
{ {
context->pictureIdManager.Drop(this->payloadDescriptor->pictureId); context->pictureIdManager.Drop(this->payloadDescriptor->pictureId);
if (this->payloadDescriptor->tlIndex == 0) if (this->payloadDescriptor->tlIndex == 0)
{ {
context->tl0PictureIndexManager.Drop(this->payloadDescriptor->tl0PictureIndex); context->tl0PictureIndexManager.Drop(this->payloadDescriptor->tl0PictureIndex);
...@@ -283,6 +284,7 @@ namespace RTC ...@@ -283,6 +284,7 @@ namespace RTC
// clang-format on // clang-format on
{ {
context->pictureIdManager.Drop(this->payloadDescriptor->pictureId); context->pictureIdManager.Drop(this->payloadDescriptor->pictureId);
if (this->payloadDescriptor->tlIndex == 0) if (this->payloadDescriptor->tlIndex == 0)
{ {
context->tl0PictureIndexManager.Drop(this->payloadDescriptor->tl0PictureIndex); context->tl0PictureIndexManager.Drop(this->payloadDescriptor->tl0PictureIndex);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论