Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 20 files). Show all
Unified · Split
| @@ -1919,8 +1919,9 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, int3 · 1918 unmodified lines | ||
| 1919 | 1919 | return iRet; |
| 1920 | 1920 | } |
| 1921 | 1921 | } |
| 1922 | − ExpandReferencingPicture (pCtx->pDec, pCtx->sExpandPicFunc.pExpandLumaPicture, | |
| 1923 | − pCtx->sExpandPicFunc.pExpandChromaPicture); | |
| 1922 | + ExpandReferencingPicture (pCtx->pDec->pData, pCtx->pDec->iWidthInPixel, pCtx->pDec->iHeightInPixel, | |
| 1923 | + pCtx->pDec->iLinesize, | |
| 1924 | + pCtx->sExpandPicFunc.pfExpandLumaPicture, pCtx->sExpandPicFunc.pfExpandChromaPicture); | |
| 1924 | 1925 | pCtx->pDec = NULL; |
| 1925 | 1926 | } |
| 1926 | 1927 | } |