ref: 63e3c6588acef672c25993a0554f565679fbb6ca
parent: ef7cce3d148e206f2b34f967cee1b545bc08127d
author: ruil2 <[email protected]>
date: Thu Jul 17 08:45:17 EDT 2014
fix reference frame update issue which will casue crash
--- a/codec/encoder/core/src/ref_list_mgr_svc.cpp
+++ b/codec/encoder/core/src/ref_list_mgr_svc.cpp
@@ -127,6 +127,7 @@
(pCtx->uiTemporalId < pRef->uiTemporalId || pCtx->bCurFrameMarkedAsSceneLtr)) {
SetUnref (pRef);
DeleteLTRFromLongList (pCtx, i);
+ i--;
}
}
}