Showing the changes to codec/decoder/core/src (1 of 1 file). Show all
Unified · Split
| @@ -2614,6 +2614,8 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2613 unmodified lines | ||
| 2614 | 2614 | memset (pCtx->sMb.pSliceIdc[i], 0xff, (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (int32_t))); |
| 2615 | 2615 | memset (pCtx->pCurDqLayer->pMbCorrectlyDecodedFlag, 0, pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight * sizeof (bool)); |
| 2616 | 2616 | memset (pCtx->pCurDqLayer->pMbRefConcealedFlag, 0, pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight * sizeof (bool)); |
| 2617 | + memset (pCtx->pDec->pRefPic[LIST_0], 0, sizeof (PPicture) * 17); | |
| 2618 | + memset (pCtx->pDec->pRefPic[LIST_1], 0, sizeof (PPicture) * 17); | |
| 2617 | 2619 | pCtx->pDec->iMbNum = pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight; |
| 2618 | 2620 | pCtx->pDec->iMbEcedNum = 0; |
| 2619 | 2621 | pCtx->pDec->iMbEcedPropNum = 0; |