shithub: openh264

Download patch

ref: 1b501bb5097a3ca3bf0d5b43cae70e3d4d7debe1
parent: f6293153c8a6973098d7d07e848b092df68b19f9
parent: 5de9f41f5ad773b86fed07dc0e984cbda060ea17
author: ruil2 <[email protected]>
date: Fri May 9 07:09:02 EDT 2014

Merge pull request #807 from sijchen/mmcoslcfix

Fix the improper slice mmco setting

--- a/codec/encoder/core/src/ref_list_mgr_svc.cpp
+++ b/codec/encoder/core/src/ref_list_mgr_svc.cpp
@@ -482,9 +482,6 @@
 
     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;