disable most warnings produced by -Wall
Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 10 files). Show all
Unified · Split
| @@ -206,7 +206,7 @@ void DynamicAdjustSlicing (sWelsEncCtx* pCtx, · 205 unmodified lines | |||
| 206 | int32_t iRunLen[MAX_THREADS_NUM] = {0}; | 206 | int32_t iRunLen[MAX_THREADS_NUM] = {0}; |
| 207 | int32_t iSliceIdx = 0; | 207 | int32_t iSliceIdx = 0; |
| 208 | 208 | ||
| 209 | int32_t iNumMbInEachGom; | 209 | int32_t iNumMbInEachGom = 0; |
| 210 | SWelsSvcRc* pWelsSvcRc = &pCtx->pWelsSvcRc[iCurDid]; | 210 | SWelsSvcRc* pWelsSvcRc = &pCtx->pWelsSvcRc[iCurDid]; |
| 211 | if (pCtx->pSvcParam->bEnableRc) { | 211 | if (pCtx->pSvcParam->bEnableRc) { |
| 212 | iNumMbInEachGom = pWelsSvcRc->iNumberMbGom; | 212 | iNumMbInEachGom = pWelsSvcRc->iNumberMbGom; |