fix reference frame update issue which will casue crash

This commit is contained in:
ruil2 2014-07-17 12:45:17 +08:00 committed by Ethan Hugg
parent 2791929e03
commit 1d0b9eb968

View File

@ -127,6 +127,7 @@ static void DeleteNonSceneLTR (sWelsEncCtx* pCtx) {
(pCtx->uiTemporalId < pRef->uiTemporalId || pCtx->bCurFrameMarkedAsSceneLtr)) {
SetUnref (pRef);
DeleteLTRFromLongList (pCtx, i);
i--;
}
}
}