History

refine rpl

Licai Guo committed 12 years ago

Commit e902f0f1 parent 573b0272 files · +31 −12Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+5−1
@@ -1993,7 +1993,11 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, int3 · 1992 unmodified lines
19931993
19941994 }
19951995 if (uiNalRefIdc > 0) {
1996− WelsMarkAsRef (pCtx);
1996+ iRet = WelsMarkAsRef (pCtx);
1997+ if (iRet != ERR_NONE) {
1998+ pCtx->pDec = NULL;
1999+ return iRet;
2000+ }
19972001 ExpandReferencingPicture (pCtx->pDec, pCtx->sExpandPicFunc.pExpandLumaPicture,
19982002 pCtx->sExpandPicFunc.pExpandChromaPicture);
19992003 pCtx->pDec = NULL;

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