shithub: openh264

Download patch

ref: c0641f40d91b8cb47f287bf26dc48d51a476c325
parent: e52c6eacb06fadf98b9163640d4da0cc1c37997f
parent: 47ad929c25f65badc6a667c5d721f97cea2fba85
author: HaiboZhu <[email protected]>
date: Wed Mar 23 09:27:35 EDT 2016

Merge pull request #2423 from shihuade/SPSUpdate

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]),