Revert "Merge pull request #2217 from huili2/simply_dec_ctx"

This reverts commit 27172bafd7, reversing
changes made to 24916a652e.
This commit is contained in:
Haibo Zhu
2015-11-13 20:16:03 +08:00
parent 513a34069d
commit 628befe8be
11 changed files with 86 additions and 133 deletions

View File

@@ -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;