Remove warning
This commit is contained in:
parent
8e400f19d2
commit
863852259d
@ -319,7 +319,7 @@ int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int kiSrcLen) {
|
|||||||
return ERR_INFO_OUT_OF_MEMORY;
|
return ERR_INFO_OUT_OF_MEMORY;
|
||||||
|
|
||||||
//Calculate and set the bs start and end position
|
//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;
|
PBitStringAux pSliceBitsRead = &pCtx->pAccessUnitList->pNalUnitsList[i]->sNalData.sVclNal.sSliceBitsRead;
|
||||||
pSliceBitsRead->pStartBuf = pSliceBitsRead->pStartBuf - pCtx->sRawData.pHead + pNewBsBuff;
|
pSliceBitsRead->pStartBuf = pSliceBitsRead->pStartBuf - pCtx->sRawData.pHead + pNewBsBuff;
|
||||||
pSliceBitsRead->pEndBuf = pSliceBitsRead->pEndBuf - pCtx->sRawData.pHead + pNewBsBuff;
|
pSliceBitsRead->pEndBuf = pSliceBitsRead->pEndBuf - pCtx->sRawData.pHead + pNewBsBuff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user