History

for PS error logic for EC

huili2 committed 12 years ago

Commit 51c918f1 parent 1b501bb1 file · +4 −2Browse files

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

Unified · Split

codec/decoder/core/src/au_parser.cpp+4−2
@@ -493,7 +493,8 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 492 unmodified lines
493493 #endif
494494 iErr = ParseSps (pCtx, pBs, &iPicWidth, &iPicHeight);
495495 if (ERR_NONE != iErr) { // modified for pSps/pSubsetSps invalid, 12/1/2009
496− pCtx->iErrorCode |= dsNoParamSets;
496+ if (pCtx->iErrorConMethod == ERROR_CON_DISABLE)
497+ pCtx->iErrorCode |= dsNoParamSets;
497498 return iErr;
498499 }
499500
@@ -507,7 +508,8 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 7 unmodified lines
507508 #endif
508509 iErr = ParsePps (pCtx, &pCtx->sPpsBuffer[0], pBs);
509510 if (ERR_NONE != iErr) { // modified for pps invalid, 12/1/2009
510− pCtx->iErrorCode |= dsNoParamSets;
511+ if (pCtx->iErrorConMethod == ERROR_CON_DISABLE)
512+ pCtx->iErrorCode |= dsNoParamSets;
511513 return iErr;
512514 }
513515

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