History

remove warning from decoder_core.cpp

huili2 committed 12 years ago

Commit bf9f25d1 parent f5eb6d41 file · +2 −2Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+2−2
@@ -1497,11 +1497,11 @@ static bool CheckNewSeqBeginAndUpdateActiveLayerSps(PWelsDecoderContext pCtx) { · 1496 unmodified lines
1497 pTmpLayerSps[i] = NULL;1497 pTmpLayerSps[i] = NULL;
1498 }1498 }
1499 // track the layer sps for the current au1499 // track the layer sps for the current au
1500 for(int i = pCurAu->uiStartPos; i <= pCurAu->uiEndPos; i++) {1500 for(unsigned int i = pCurAu->uiStartPos; i <= pCurAu->uiEndPos; i++) {
1501 uint32_t uiDid = pCurAu->pNalUnitsList[i]->sNalHeaderExt.uiDependencyId;1501 uint32_t uiDid = pCurAu->pNalUnitsList[i]->sNalHeaderExt.uiDependencyId;
1502 pTmpLayerSps[uiDid] = pCurAu->pNalUnitsList[i]->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader.pSps;1502 pTmpLayerSps[uiDid] = pCurAu->pNalUnitsList[i]->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader.pSps;
1503 }1503 }
1504 int iMaxActiveLayer, iMaxCurrentLayer;1504 int iMaxActiveLayer = 0, iMaxCurrentLayer = 0;
1505 for(int i = MAX_LAYER_NUM - 1; i >= 0; i--) {1505 for(int i = MAX_LAYER_NUM - 1; i >= 0; i--) {
1506 if (pCtx->pActiveLayerSps[i] != NULL) {1506 if (pCtx->pActiveLayerSps[i] != NULL) {
1507 iMaxActiveLayer = i;1507 iMaxActiveLayer = i;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t