Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2152,6 +2152,7 @@ bool CheckAndFinishLastPic (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferIn · 2151 unmodified lines | ||
| 2152 | 2152 | } else if (pCtx->eErrorConMethod == ERROR_CON_SLICE_MV_COPY_CROSS_IDR |
| 2153 | 2153 | || pCtx->eErrorConMethod == ERROR_CON_SLICE_MV_COPY_CROSS_IDR_FREEZE_RES_CHANGE) { |
| 2154 | 2154 | pCtx->pPreviousDecodedPictureInDpb = pCtx->pDec; //save ECed pic for future MV Copy use |
| 2155 | + pCtx->pDec = NULL; | |
| 2155 | 2156 | } |
| 2156 | 2157 | } else { |
| 2157 | 2158 | if (DecodeFrameConstruction (pCtx, ppDst, pDstInfo)) |