Remove warning

This commit is contained in:
Haibo Zhu 2014-07-06 19:04:59 -07:00
parent 8e400f19d2
commit 863852259d

View File

@ -319,7 +319,7 @@ int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int kiSrcLen) {
return ERR_INFO_OUT_OF_MEMORY;
//Calculate and set the bs start and end position
for (int32_t i = 0; i <= pCtx->pAccessUnitList->uiActualUnitsNum; i++) {
for (uint32_t i = 0; i <= pCtx->pAccessUnitList->uiActualUnitsNum; i++) {
PBitStringAux pSliceBitsRead = &pCtx->pAccessUnitList->pNalUnitsList[i]->sNalData.sVclNal.sSliceBitsRead;
pSliceBitsRead->pStartBuf = pSliceBitsRead->pStartBuf - pCtx->sRawData.pHead + pNewBsBuff;
pSliceBitsRead->pEndBuf = pSliceBitsRead->pEndBuf - pCtx->sRawData.pHead + pNewBsBuff;