shithub: openh264

Download patch

ref: 863852259d82f4c2b78fa25734640881ba459cc0
parent: 8e400f19d219896dc3815c2b980ece59ecf084d5
author: Haibo Zhu <haibozhu@cisco.com>
date: Sun Jul 6 15:04:59 EDT 2014

Remove warning

--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -319,7 +319,7 @@
     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;