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
493#endif493#endif
494 iErr = ParseSps (pCtx, pBs, &iPicWidth, &iPicHeight);494 iErr = ParseSps (pCtx, pBs, &iPicWidth, &iPicHeight);
495 if (ERR_NONE != iErr) { // modified for pSps/pSubsetSps invalid, 12/1/2009495 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;
497 return iErr;498 return iErr;
498 }499 }
499 500
@@ -507,7 +508,8 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 7 unmodified lines
507#endif508#endif
508 iErr = ParsePps (pCtx, &pCtx->sPpsBuffer[0], pBs);509 iErr = ParsePps (pCtx, &pCtx->sPpsBuffer[0], pBs);
509 if (ERR_NONE != iErr) { // modified for pps invalid, 12/1/2009510 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;
511 return iErr;513 return iErr;
512 }514 }
513 515

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