Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 4 files). Show all
Unified · Split
| @@ -2360,6 +2360,8 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2359 unmodified lines | |||
| 2360 | if (uiNalRefIdc > 0) { | 2360 | if (uiNalRefIdc > 0) { |
| 2361 | iRet = WelsMarkAsRef (pCtx); | 2361 | iRet = WelsMarkAsRef (pCtx); |
| 2362 | if (iRet != ERR_NONE) { | 2362 | if (iRet != ERR_NONE) { |
| 2363 | if (iRet == ERR_INFO_DUPLICATE_FRAME_NUM) | ||
| 2364 | pCtx->iErrorCode |= dsBitstreamError; | ||
| 2363 | if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) { | 2365 | if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) { |
| 2364 | pCtx->pDec = NULL; | 2366 | pCtx->pDec = NULL; |
| 2365 | return iRet; | 2367 | return iRet; |