History

bugfix for T1 error decoder dealing

huili2 committed 11 years ago

Commit 091805b1 parent f30ad4e1 file · +3 −1Browse 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−1
@@ -2416,8 +2416,10 @@ bool CheckAndFinishLastPic (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferIn · 2415 unmodified lines
2416 pCtx->bFrameFinish = true; //clear frame pending status here!2416 pCtx->bFrameFinish = true; //clear frame pending status here!
2417 } else {2417 } else {
2418 if (DecodeFrameConstruction (pCtx, ppDst, pDstInfo)) {2418 if (DecodeFrameConstruction (pCtx, ppDst, pDstInfo)) {
2419 if (pCtx->sLastNalHdrExt.sNalUnitHeader.uiNalRefIdc > 0)2419 if ((pCtx->sLastNalHdrExt.sNalUnitHeader.uiNalRefIdc > 0) && (pCtx->sLastNalHdrExt.uiTemporalId == 0))
2420 pCtx->iErrorCode |= dsNoParamSets;2420 pCtx->iErrorCode |= dsNoParamSets;
2421 else
2422 pCtx->iErrorCode |= dsBitstreamError;
2421 pCtx->pDec = NULL;2423 pCtx->pDec = NULL;
2422 return false;2424 return false;
2423 }2425 }

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