Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 8 files). Show all
Unified · Split
| @@ -668,7 +668,7 @@ DECODING_STATE CWelsDecoder::DecodeParser (const unsigned char* kpSrc, · 667 unmodified lines | ||
| 668 | 668 | m_pDecContext->pParam->eEcActiveIdc = ERROR_CON_DISABLE; //add protection to disable EC here. |
| 669 | 669 | if (!m_pDecContext->bFramePending) { //frame complete |
| 670 | 670 | m_pDecContext->pParserBsInfo->iNalNum = 0; |
| 671 | − memset (m_pDecContext->pParserBsInfo->iNalLenInByte, 0, MAX_NAL_UNITS_IN_LAYER); | |
| 671 | + memset (m_pDecContext->pParserBsInfo->pNalLenInByte, 0, MAX_NAL_UNITS_IN_LAYER); | |
| 672 | 672 | } |
| 673 | 673 | pDstInfo->iNalNum = 0; |
| 674 | 674 | pDstInfo->iSpsWidthInPixel = pDstInfo->iSpsHeightInPixel = 0; |