shithub: openh264

Download patch

ref: 47ad929c25f65badc6a667c5d721f97cea2fba85
parent: 22d6a94919e1a4c1b47fa71a9ecff554f343e958
author: Forrest Shi <huashi@cisco.com>
date: Wed Mar 23 07:14:40 EDT 2016

fix bug for debug mode

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3237,7 +3237,7 @@
 void UpdateSpsPpsIdStrategyWithIncreasingId (SParaSetOffset* pPSOVector, const uint32_t kuiId, const int iParasetType) {
 #if _DEBUG
   pPSOVector->eSpsPpsIdStrategy = INCREASING_ID;
-  assert (iIdx < MAX_DQ_LAYER_NUM);
+  assert(kuiId < MAX_DQ_LAYER_NUM);
 #endif
 
   ParasetIdAdditionIdAdjust (& (pPSOVector->sParaSetOffsetVariable[iParasetType]),