Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 1 file). Show all
Unified · Split
| @@ -228,6 +228,8 @@ int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const · 227 unmodified lines | |||
| 228 | } | 228 | } |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | pCtx->pPreviousDecodedPictureInDpb = NULL; | ||
| 232 | |||
| 231 | // currently only active for LIST_0 due to have no B frames | 233 | // currently only active for LIST_0 due to have no B frames |
| 232 | iErr = CreatePicBuff (pCtx, &pCtx->pPicBuff[LIST_0], iPicQueueSize, kiPicWidth, kiPicHeight); | 234 | iErr = CreatePicBuff (pCtx, &pCtx->pPicBuff[LIST_0], iPicQueueSize, kiPicWidth, kiPicHeight); |
| 233 | if (iErr != ERR_NONE) | 235 | if (iErr != ERR_NONE) |