History

ec disable bug fix

huili2 committed 12 years ago

Commit 869c5671 parent 3ad4d901 file · +3 −2Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+3−2
@@ -1965,7 +1965,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 1964 unmodified lines
1965 if (dq_cur->uiLayerDqId == kuiTargetLayerDqId) {1965 if (dq_cur->uiLayerDqId == kuiTargetLayerDqId) {
1966 if (!pCtx->bInstantDecFlag) {1966 if (!pCtx->bInstantDecFlag) {
1967 //Do error concealment here1967 //Do error concealment here
1968 if (NeedErrorCon (pCtx)) {1968 if ((NeedErrorCon (pCtx)) && (pCtx->eErrorConMethod != ERROR_CON_DISABLE)) {
1969 ImplementErrorCon (pCtx);1969 ImplementErrorCon (pCtx);
1970 pCtx->iTotalNumMbRec = pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight;1970 pCtx->iTotalNumMbRec = pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight;
1971 pCtx->pDec->iSpsId = pCtx->pSps->iSpsId;1971 pCtx->pDec->iSpsId = pCtx->pSps->iSpsId;
@@ -2022,7 +2022,8 @@ bool CheckAndFinishLastPic (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferIn · 50 unmodified lines
2022 MarkECFrameAsRef (pCtx);2022 MarkECFrameAsRef (pCtx);
2023 }2023 }
2024 } else {2024 } else {
2025 DecodeFrameConstruction (pCtx, ppDst, pDstInfo);2025 if (DecodeFrameConstruction (pCtx, ppDst, pDstInfo))
2026 return false;
2026 }2027 }
2027 pCtx->iPrevFrameNum = pCtx->sLastSliceHeader.iFrameNum; //save frame_num2028 pCtx->iPrevFrameNum = pCtx->sLastSliceHeader.iFrameNum; //save frame_num
2028 if (pCtx->bLastHasMmco5)2029 if (pCtx->bLastHasMmco5)

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