History

Fix Bugzilla reported bug-1525097.

xiaotiansf committed 7 years ago

Commit 88599241 parent 0fefca21 file · +1 −1Browse 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+1−1
@@ -2652,7 +2652,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2651 unmodified lines
26522652 pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (int8_t) * MB_BLOCK4x4_NUM);
26532653 for (int32_t listIdx = LIST_0; listIdx < LIST_A; ++listIdx) {
26542654 uint32_t i = 0;
2655− while (pCtx->sRefPic.pRefList[listIdx][i]) {
2655+ while (pCtx->sRefPic.pRefList[listIdx][i] && i < MAX_DPB_COUNT) {
26562656 pCtx->pDec->pRefPic[listIdx][i] = pCtx->sRefPic.pRefList[listIdx][i];
26572657 ++i;
26582658 }

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