History

modify freeze output to proper location

huili2 committed 11 years ago

Commit 984497c1 parent 93265d73 files · +8 −8Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 3 files). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+1−6
@@ -397,11 +397,6 @@ int32_t WelsInitMemory (PWelsDecoderContext pCtx) { · 396 unmodified lines
397 397
398 pCtx->uiTargetDqId = (uint8_t) - 1;398 pCtx->uiTargetDqId = (uint8_t) - 1;
399 pCtx->bEndOfStreamFlag = false;399 pCtx->bEndOfStreamFlag = false;
400 pCtx->iImgWidthInPixel = 0;
401 pCtx->iImgHeightInPixel = 0;
402 pCtx->iLastImgWidthInPixel = 0;
403 pCtx->iLastImgHeightInPixel = 0;
404 pCtx->bFreezeOutput = false;
405 400
406 return ERR_NONE;401 return ERR_NONE;
407}402}
@@ -1083,7 +1078,7 @@ int32_t InitialDqLayersContext (PWelsDecoderContext pCtx, const int32_t kiMaxWid · 675 unmodified lines
1083 pCtx->sMb.pMbCorrectlyDecodedFlag[i] = (bool*) WelsMalloc (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (bool),1078 pCtx->sMb.pMbCorrectlyDecodedFlag[i] = (bool*) WelsMalloc (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (bool),
1084 "pCtx->sMb.pMbCorrectlyDecodedFlag[]");1079 "pCtx->sMb.pMbCorrectlyDecodedFlag[]");
1085 pCtx->sMb.pMbRefConcealedFlag[i] = (bool*) WelsMalloc (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (bool),1080 pCtx->sMb.pMbRefConcealedFlag[i] = (bool*) WelsMalloc (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (bool),
1086 "pCtx->pMbRefConcealedFlag[]");1081 "pCtx->pMbRefConcealedFlag[]");
1087 1082
1088 // check memory block valid due above allocated..1083 // check memory block valid due above allocated..
1089 WELS_VERIFY_RETURN_IF (ERR_INFO_OUT_OF_MEMORY,1084 WELS_VERIFY_RETURN_IF (ERR_INFO_OUT_OF_MEMORY,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t