Merge pull request #807 from sijchen/mmcoslcfix

Fix the improper slice mmco setting
This commit is contained in:
ruil2 2014-05-09 11:09:02 +08:00
commit 1b501bb509

View File

@ -482,9 +482,6 @@ void WelsMarkPic (void* pEncCtx) {
memset (pRefPicMark, 0, sizeof (SRefPicMarking));
if (iSliceIdx != kiCountSliceNum - 1) { //marking syntax only exist in last slice head
continue;
}
if (pCtx->pSvcParam->bEnableLongTermReference && pLtr->bLTRMarkingFlag) {
if (pLtr->iLTRMarkMode == LTR_DIRECT_MARK) {
pRefPicMark->SMmcoRef[pRefPicMark->uiMmcoCount].iMaxLongTermFrameIdx = LONG_TERM_REF_NUM - 1;