History

Merge pull request #1730 from HaiboZhu/Debug_EC_off_Delay_mode_early_exit_process

Fix the bug that the pDec not set to NULL when early exit

dongzha committed 11 years ago

Commit b6038442 parents 0250acc 264cf571 file · +4 −0Browse files

Showing the changes to codec/decoder (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+4−0
@@ -2078,6 +2078,8 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2077 unmodified lines
2078 "reference picture introduced by this frame is lost during transmission! uiTId: %d",2078 "reference picture introduced by this frame is lost during transmission! uiTId: %d",
2079 pNalCur->sNalHeaderExt.uiTemporalId);2079 pNalCur->sNalHeaderExt.uiTemporalId);
2080 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) {2080 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) {
2081 if (pCtx->iTotalNumMbRec == 0)
2082 pCtx->pDec = NULL;
2081 return iRet;2083 return iRet;
2082 }2084 }
2083 }2085 }
@@ -2093,6 +2095,8 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 9 unmodified lines
2093 bAllRefComplete = false;2095 bAllRefComplete = false;
2094 HandleReferenceLostL0 (pCtx, pNalCur);2096 HandleReferenceLostL0 (pCtx, pNalCur);
2095 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) {2097 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) {
2098 if (pCtx->iTotalNumMbRec == 0)
2099 pCtx->pDec = NULL;
2096 return iRet;2100 return iRet;
2097 }2101 }
2098 }2102 }

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