This fixes build warnings with clang on OS X.
Showing the changes to codec/encoder/core/src/ratectl.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1001,7 +1001,6 @@ void WelsRcMbInfoUpdateDisable (void* pCtx, SMB* pCurMb, int32_t iCostLuma, SSl · 1000 unmodified lines | |||
| 1001 | 1001 | ||
| 1002 | void WelRcPictureInitBufferBasedQp (void* pCtx) { | 1002 | void WelRcPictureInitBufferBasedQp (void* pCtx) { |
| 1003 | sWelsEncCtx* pEncCtx = (sWelsEncCtx*)pCtx; | 1003 | sWelsEncCtx* pEncCtx = (sWelsEncCtx*)pCtx; |
| 1004 | SWelsSvcRc* pWelsSvcRc = &pEncCtx->pWelsSvcRc[pEncCtx->uiDependencyId]; | ||
| 1005 | SVAAFrameInfo* pVaa = static_cast<SVAAFrameInfo*> (pEncCtx->pVaa); | 1004 | SVAAFrameInfo* pVaa = static_cast<SVAAFrameInfo*> (pEncCtx->pVaa); |
| 1006 | 1005 | ||
| 1007 | int32_t iMinQp = MIN_SCREEN_QP; | 1006 | int32_t iMinQp = MIN_SCREEN_QP; |