Skip to content

Commit

Permalink
Fix bug about the decoder with mosaic when EC off
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiboZhu committed May 21, 2015
1 parent 7d7a5c2 commit a484681
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codec/decoder/core/src/decoder_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2396,6 +2396,8 @@ bool CheckAndFinishLastPic (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferIn
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;
}
Expand Down

0 comments on commit a484681

Please sign in to comment.