ref: a484681202a96f592d3ee43cae96c557c38e77b5
parent: 7d7a5c28bc0d63897e5ab524e535f8c0ed1ff351
author: Haibo Zhu <haibozhu@cisco.com>
date: Wed May 20 14:27:20 EDT 2015
Fix bug about the decoder with mosaic when EC off
--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -2396,6 +2396,8 @@
pCtx->bFrameFinish = true; //clear frame pending status here!
} else {
if (DecodeFrameConstruction (pCtx, ppDst, pDstInfo)) {
+ if (pCtx->sLastNalHdrExt.sNalUnitHeader.uiNalRefIdc > 0)
+ pCtx->iErrorCode |= dsNoParamSets;
pCtx->pDec = NULL;
return false;
}