Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1762,7 +1762,7 @@ int32_t ConstructAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferI · 1761 unmodified lines | ||
| 1762 | 1762 | iErr = DecodeCurrentAccessUnit (pCtx, ppDst, pDstInfo); |
| 1763 | 1763 | |
| 1764 | 1764 | if (pCtx->bParseOnly) { |
| 1765 | − if ((dsErrorFree == pCtx->iErrorCode) && (pCtx->iTotalNumMbRec == pCtx->pSps->iMbHeight * pCtx->pSps->iMbWidth)) { | |
| 1765 | + if ((dsErrorFree == pCtx->iErrorCode) && ((uint32_t) pCtx->iTotalNumMbRec == pCtx->pSps->iMbHeight * pCtx->pSps->iMbWidth)) { | |
| 1766 | 1766 | SParserBsInfo* pParser = pCtx->pParserBsInfo; |
| 1767 | 1767 | uint8_t* pDstBuf = pParser->pDstBuff; |
| 1768 | 1768 | SNalUnit* pCurNal = NULL; |