Add picture bIsComplete flag to reflect the status of decoder

Modify the output error status and add some some judgement
This commit is contained in:
Haibo Zhu
2014-10-12 23:20:16 -07:00
parent 614e898b67
commit 9d182ee515
9 changed files with 113 additions and 59 deletions

View File

@@ -297,7 +297,6 @@ int32_t WelsOpenDecoder (PWelsDecoderContext pCtx) {
pCtx->bReferenceLostAtT0Flag = true; // should be true to waiting IDR at incoming AU bits following, 6/4/2010
#endif //LONG_TERM_REF
pCtx->bNewSeqBegin = true;
pCtx->bDecErrorConedFlag = false; //default: decoder normal status
pCtx->bPrintFrameErrorTraceFlag = true;
pCtx->iIgnoredErrorInfoPacketCount = 0;
return iRet;