Showing the changes to codec/decoder/core/src/pic_queue.cpp (1 of 11 files). Show all
Unified · Split
| @@ -83,7 +83,7 @@ PPicture AllocPicture (PWelsDecoderContext pCtx, const int32_t kiPicWidth, const · 82 unmodified lines | ||
| 83 | 83 | iLumaSize = iPicWidth * iPicHeight; |
| 84 | 84 | iChromaSize = iPicChromaWidth * iPicChromaHeight; |
| 85 | 85 | |
| 86 | − if (pCtx->bParseOnly) { | |
| 86 | + if (pCtx->pParam->bParseOnly) { | |
| 87 | 87 | pPic->pBuffer[0] = pPic->pBuffer[1] = pPic->pBuffer[2] = NULL; |
| 88 | 88 | pPic->pData[0] = pPic->pData[1] = pPic->pData[2] = NULL; |
| 89 | 89 | pPic->iLinesize[0] = iPicWidth; |