From 7101a837e604bfc20ac4d7da15bbd21720b4b14e Mon Sep 17 00:00:00 2001
From: Xiang Ma <maxiang6@huawei.com>
Date: Mon, 17 Feb 2020 12:09:31 +0800
Subject: [PATCH] fix the typo

---
 source/Lib/DecoderLib/DecLib.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp
index dd2884b59..96b436262 100644
--- a/source/Lib/DecoderLib/DecLib.cpp
+++ b/source/Lib/DecoderLib/DecLib.cpp
@@ -891,17 +891,17 @@ void DecLib::checkTidLayerIdInAccessUnit()
       break;
     }
   }
-  CHECK(!isPicTidInAuSame, "The TemporalId of an SEI NAL unit shall be equal to the TemporalId of the AU containing the NAL unit");
+  CHECK(!isSeiTidInAuSameAsAuTid, "The TemporalId of an SEI NAL unit shall be equal to the TemporalId of the AU containing the NAL unit");
 
   for (auto tempNalu = m_accessUnitNals.begin(); tempNalu != m_accessUnitNals.end(); tempNalu++)
   {
     if ((tempNalu->first == NAL_UNIT_FD) && (tempNalu->second != firstPicLayerId))
     {
-      isPicTidInAuSame = false;
+      isFdNaluLayerIdSameAsVclNaluLayerId = false;
       break;
     }
   }
-  CHECK(!isPicTidInAuSame, "The nuh_layer_id of a filler data NAL unit shall be equal to the nuh_layer_id of associated VCL NAL unit");
+  CHECK(!isFdNaluLayerIdSameAsVclNaluLayerId, "The nuh_layer_id of a filler data NAL unit shall be equal to the nuh_layer_id of associated VCL NAL unit");
 
 }
 #endif
-- 
GitLab