fix reference picture modification bug

This commit is contained in:
licaiguo 2014-01-25 16:37:22 +08:00
parent a1c491499f
commit 058ceb369f

View File

@ -205,7 +205,7 @@ int32_t WelsReorderRefList (PWelsDecoderContext pCtx) {
}
}
}
if (i < 0) {
if (i < iReorderingIndex) {
return ERR_INFO_REFERENCE_PIC_LOST;
}
pPic = ppRefList[i];