Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 4 files). Show all
Unified · Split
| @@ -1683,7 +1683,8 @@ static void WriteBackActiveParameters (PWelsDecoderContext pCtx) { · 1682 unmodified lines | ||
| 1683 | 1683 | int32_t ConstructAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferInfo* pDstInfo) { |
| 1684 | 1684 | int32_t iErr; |
| 1685 | 1685 | PAccessUnit pCurAu = pCtx->pAccessUnitList; |
| 1686 | − | |
| 1686 | + pCtx->iMbEcedNum = 0; | |
| 1687 | + pCtx->iMbNum = 0; | |
| 1687 | 1688 | pCtx->bAuReadyFlag = false; |
| 1688 | 1689 | pCtx->bLastHasMmco5 = false; |
| 1689 | 1690 | bool bTmpNewSeqBegin = CheckNewSeqBeginAndUpdateActiveLayerSps (pCtx); |