Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 6 files). Show all
Unified · Split
| @@ -259,6 +259,7 @@ void DestroyPicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, CMemoryAlign* · 258 unmodified lines | |||
| 259 | PPicBuff pPicBuf = NULL; | 259 | PPicBuff pPicBuf = NULL; |
| 260 | 260 | ||
| 261 | ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false); | 261 | ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false); |
| 262 | if (pCtx->pDstInfo) pCtx->pDstInfo->iBufferStatus = 0; | ||
| 262 | 263 | ||
| 263 | if (NULL == ppPicBuf || NULL == *ppPicBuf) | 264 | if (NULL == ppPicBuf || NULL == *ppPicBuf) |
| 264 | return; | 265 | return; |
| @@ -303,6 +304,7 @@ void ResetReorderingPictureBuffers (PPictReoderingStatus pPictReoderingStatus, P · 38 unmodified lines | |||
| 303 | pPictInfo[i].bLastGOP = false; | 304 | pPictInfo[i].bLastGOP = false; |
| 304 | pPictInfo[i].iPOC = IMinInt32; | 305 | pPictInfo[i].iPOC = IMinInt32; |
| 305 | } | 306 | } |
| 307 | pPictInfo->sBufferInfo.iBufferStatus = 0; | ||
| 306 | } | 308 | } |
| 307 | } | 309 | } |
| 308 | 310 | ||