Merge pull request from licaiguo/fix-rpl

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

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