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 | 425 | int32_t MarkECFrameAsRef (PWelsDecoderContext pCtx) { |
| 426 | 426 | int32_t iRet = WelsMarkAsRef (pCtx); |
| 427 | 427 | if (iRet != ERR_NONE) { |
| 428 | − pCtx->pDec = NULL; | |
| 429 | 428 | return iRet; |
| 430 | 429 | } |
| 431 | 430 | ExpandReferencingPicture (pCtx->pDec->pData, pCtx->pDec->iWidthInPixel, pCtx->pDec->iHeightInPixel, |
| 432 | 431 | pCtx->pDec->iLinesize, |
| 433 | 432 | pCtx->sExpandPicFunc.pfExpandLumaPicture, pCtx->sExpandPicFunc.pfExpandChromaPicture); |
| 434 | − pCtx->pDec = NULL; | |
| 435 | 433 | |
| 436 | 434 | return ERR_NONE; |
| 437 | 435 | } |