fix reference picture modification bug
This commit is contained in:
parent
a1c491499f
commit
058ceb369f
@ -205,7 +205,7 @@ int32_t WelsReorderRefList (PWelsDecoderContext pCtx) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (i < 0) {
|
||||
if (i < iReorderingIndex) {
|
||||
return ERR_INFO_REFERENCE_PIC_LOST;
|
||||
}
|
||||
pPic = ppRefList[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user