Add default value for ChromaArrayType to avoid NO value

This commit is contained in:
Haibo Zhu
2015-08-04 11:11:06 +08:00
parent 6b503843ec
commit e621610776

View File

@@ -943,6 +943,7 @@ int32_t ParseSps (PWelsDecoderContext pCtx, PBitStringAux pBsAux, int32_t* pPicW
} else pSps->pSLevelLimits = pSLevelLimits;
// syntax elements in default
pSps->uiChromaFormatIdc = 1;
pSps->uiChromaArrayType = 1;
pSps->uiProfileIdc = uiProfileIdc;
pSps->uiLevelIdc = uiLevelIdc;