ref: 51c918f212dcc6acf1e051adffafb4b1dfbdf4b9
parent: 1b501bb5097a3ca3bf0d5b43cae70e3d4d7debe1
author: huili2 <huili2@cisco.com>
date: Thu May 8 21:12:08 EDT 2014
for PS error logic for EC
--- a/codec/decoder/core/src/au_parser.cpp
+++ b/codec/decoder/core/src/au_parser.cpp
@@ -493,7 +493,8 @@
#endif
iErr = ParseSps (pCtx, pBs, &iPicWidth, &iPicHeight);
if (ERR_NONE != iErr) { // modified for pSps/pSubsetSps invalid, 12/1/2009
- pCtx->iErrorCode |= dsNoParamSets;
+ if (pCtx->iErrorConMethod == ERROR_CON_DISABLE)
+ pCtx->iErrorCode |= dsNoParamSets;
return iErr;
}
@@ -507,7 +508,8 @@
#endif
iErr = ParsePps (pCtx, &pCtx->sPpsBuffer[0], pBs);
if (ERR_NONE != iErr) { // modified for pps invalid, 12/1/2009
- pCtx->iErrorCode |= dsNoParamSets;
+ if (pCtx->iErrorConMethod == ERROR_CON_DISABLE)
+ pCtx->iErrorCode |= dsNoParamSets;
return iErr;
}