fix reference frame update issue which will casue crash
This commit is contained in:
parent
2791929e03
commit
1d0b9eb968
@ -127,6 +127,7 @@ static void DeleteNonSceneLTR (sWelsEncCtx* pCtx) {
|
|||||||
(pCtx->uiTemporalId < pRef->uiTemporalId || pCtx->bCurFrameMarkedAsSceneLtr)) {
|
(pCtx->uiTemporalId < pRef->uiTemporalId || pCtx->bCurFrameMarkedAsSceneLtr)) {
|
||||||
SetUnref (pRef);
|
SetUnref (pRef);
|
||||||
DeleteLTRFromLongList (pCtx, i);
|
DeleteLTRFromLongList (pCtx, i);
|
||||||
|
i--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user