From 5de9f41f5ad773b86fed07dc0e984cbda060ea17 Mon Sep 17 00:00:00 2001 From: sijchen Date: Fri, 9 May 2014 10:48:09 +0800 Subject: [PATCH] Fix the improper slice mmco setting --- codec/encoder/core/src/ref_list_mgr_svc.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/codec/encoder/core/src/ref_list_mgr_svc.cpp b/codec/encoder/core/src/ref_list_mgr_svc.cpp index ca4b4598..e21ccb58 100644 --- a/codec/encoder/core/src/ref_list_mgr_svc.cpp +++ b/codec/encoder/core/src/ref_list_mgr_svc.cpp @@ -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;