Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 4 files). Show all
Unified · Split
| @@ -2152,6 +2152,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2151 unmodified lines | ||
| 2152 | 2152 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_ERROR, |
| 2153 | 2153 | "DecodeCurrentAccessUnit()::::::PrefetchPic ERROR, pSps->iNumRefFrames:%d.", |
| 2154 | 2154 | pCtx->pSps->iNumRefFrames); |
| 2155 | + // The error code here need to be separated from the dsOutOfMemory | |
| 2155 | 2156 | pCtx->iErrorCode |= dsOutOfMemory; |
| 2156 | 2157 | return ERR_INFO_REF_COUNT_OVERFLOW; |
| 2157 | 2158 | } |