Showing the changes to codec/decoder/core/src/error_concealment.cpp (1 of 3 files). Show all
Unified · Split
| @@ -425,13 +425,11 @@ void DoErrorConSliceMVCopy (PWelsDecoderContext pCtx) { · 424 unmodified lines | |||
| 425 | int32_t MarkECFrameAsRef (PWelsDecoderContext pCtx) { | 425 | int32_t MarkECFrameAsRef (PWelsDecoderContext pCtx) { |
| 426 | int32_t iRet = WelsMarkAsRef (pCtx); | 426 | int32_t iRet = WelsMarkAsRef (pCtx); |
| 427 | if (iRet != ERR_NONE) { | 427 | if (iRet != ERR_NONE) { |
| 428 | pCtx->pDec = NULL; | ||
| 429 | return iRet; | 428 | return iRet; |
| 430 | } | 429 | } |
| 431 | ExpandReferencingPicture (pCtx->pDec->pData, pCtx->pDec->iWidthInPixel, pCtx->pDec->iHeightInPixel, | 430 | ExpandReferencingPicture (pCtx->pDec->pData, pCtx->pDec->iWidthInPixel, pCtx->pDec->iHeightInPixel, |
| 432 | pCtx->pDec->iLinesize, | 431 | pCtx->pDec->iLinesize, |
| 433 | pCtx->sExpandPicFunc.pfExpandLumaPicture, pCtx->sExpandPicFunc.pfExpandChromaPicture); | 432 | pCtx->sExpandPicFunc.pfExpandLumaPicture, pCtx->sExpandPicFunc.pfExpandChromaPicture); |
| 434 | pCtx->pDec = NULL; | ||
| 435 | 433 | ||
| 436 | return ERR_NONE; | 434 | return ERR_NONE; |
| 437 | } | 435 | } |