Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 1 file). Show all
Unified · Split
| @@ -192,6 +192,8 @@ static int32_t DecreasePicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, co · 191 unmodified lines | ||
| 192 | 192 | return ERR_INFO_OUT_OF_MEMORY; |
| 193 | 193 | } |
| 194 | 194 | |
| 195 | + ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false); | |
| 196 | + | |
| 195 | 197 | int32_t iPrevPicIdx = -1; |
| 196 | 198 | for (iPrevPicIdx = 0; iPrevPicIdx < kiOldSize; ++iPrevPicIdx) { |
| 197 | 199 | if (pCtx->pLastDecPicInfo->pPreviousDecodedPictureInDpb == pPicOldBuf->ppPic[iPrevPicIdx]) { |