Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 14 files). Show all
Unified · Split
| @@ -255,6 +255,7 @@ void DestroyPicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, CMemoryAlign* · 254 unmodified lines | |||
| 255 | PPicBuff pPicBuf; | 255 | PPicBuff pPicBuf; |
| 256 | 256 | ||
| 257 | ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false); | 257 | ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false); |
| 258 | if (pCtx->pDstInfo) pCtx->pDstInfo->iBufferStatus = 0; | ||
| 258 | 259 | ||
| 259 | if (NULL == ppPicBuf || NULL == *ppPicBuf) | 260 | if (NULL == ppPicBuf || NULL == *ppPicBuf) |
| 260 | return; | 261 | return; |
| @@ -297,6 +298,7 @@ void ResetReorderingPictureBuffers (PPictReoderingStatus pPictReoderingStatus, P · 36 unmodified lines | |||
| 297 | pPictInfo[i].bLastGOP = false; | 298 | pPictInfo[i].bLastGOP = false; |
| 298 | pPictInfo[i].iPOC = IMinInt32; | 299 | pPictInfo[i].iPOC = IMinInt32; |
| 299 | } | 300 | } |
| 301 | pPictInfo->sBufferInfo.iBufferStatus = 0; | ||
| 300 | } | 302 | } |
| 301 | } | 303 | } |
| 302 | 304 | ||