Revert "Merge pull request #2217 from huili2/simply_dec_ctx"
This reverts commit27172bafd7, reversing changes made to24916a652e.
This commit is contained in:
@@ -83,7 +83,7 @@ PPicture AllocPicture (PWelsDecoderContext pCtx, const int32_t kiPicWidth, const
|
||||
iLumaSize = iPicWidth * iPicHeight;
|
||||
iChromaSize = iPicChromaWidth * iPicChromaHeight;
|
||||
|
||||
if (pCtx->pParam->bParseOnly) {
|
||||
if (pCtx->bParseOnly) {
|
||||
pPic->pBuffer[0] = pPic->pBuffer[1] = pPic->pBuffer[2] = NULL;
|
||||
pPic->pData[0] = pPic->pData[1] = pPic->pData[2] = NULL;
|
||||
pPic->iLinesize[0] = iPicWidth;
|
||||
|
||||
Reference in New Issue
Block a user