This reverts commit 27172bafd7ff2cc80b08768a32a23470f3d6d3fd, reversing changes made to 24916a652ee5d3e36d931c222df20966f7c158fa.
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->pParam->bParseOnly) { | |
| 86 | + if (pCtx->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; |