Showing the changes to codec/decoder (1 of 1 file). Show all
Unified · Split
| @@ -205,7 +205,7 @@ int32_t WelsReorderRefList (PWelsDecoderContext pCtx) { · 204 unmodified lines | |||
| 205 | } | 205 | } |
| 206 | } | 206 | } |
| 207 | } | 207 | } |
| 208 | if (i < 0) { | 208 | if (i < iReorderingIndex) { |
| 209 | return ERR_INFO_REFERENCE_PIC_LOST; | 209 | return ERR_INFO_REFERENCE_PIC_LOST; |
| 210 | } | 210 | } |
| 211 | pPic = ppRefList[i]; | 211 | pPic = ppRefList[i]; |