Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2943,8 +2943,8 @@ int32_t WritePadding (sWelsEncCtx* pCtx, int32_t iLen) { · 2942 unmodified lines | |||
| 2943 | if ((pBs->pBufEnd - pBs->pBufPtr) < iLen || iNal >= pCtx->pOut->iCountNals) { | 2943 | if ((pBs->pBufEnd - pBs->pBufPtr) < iLen || iNal >= pCtx->pOut->iCountNals) { |
| 2944 | #if GOM_TRACE_FLAG | 2944 | #if GOM_TRACE_FLAG |
| 2945 | WelsLog (pCtx, WELS_LOG_ERROR, | 2945 | WelsLog (pCtx, WELS_LOG_ERROR, |
| 2946 | "[RC] paddingcal pBuffer overflow, bufferlen=%d, paddinglen=%d, iNalIdx= %d, iCountNals= %d\n", | 2946 | "[RC] paddingcal pBuffer overflow, bufferlen=%lld, paddinglen=%d, iNalIdx= %d, iCountNals= %d\n", |
| 2947 | static_cast<int>(pBs->pBufEnd - pBs->pBufPtr), iLen, iNal, pCtx->pOut->iCountNals); | 2947 | static_cast<long long int>(pBs->pBufEnd - pBs->pBufPtr), iLen, iNal, pCtx->pOut->iCountNals); |
| 2948 | #endif | 2948 | #endif |
| 2949 | return 0; | 2949 | return 0; |
| 2950 | } | 2950 | } |