Merge pull request #214 from licaiguo/fix-rpl

fix reference picture modification bug -- review #67
This commit is contained in:
kali2 2014-01-26 19:24:25 -08:00
commit fa91f77b1b

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];