This fixes warnings with GCC about a variable that is set but not used.
Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 1 file). Show all
Unified · Split
| @@ -921,10 +921,8 @@ int32_t WelsDecodeMbCabacPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 920 unmodified lines | ||
| 921 | 921 | } |
| 922 | 922 | // Calculate deqaunt coeff scaling list value |
| 923 | 923 | int32_t WelsCalcDeqCoeffScalingList (PWelsDecoderContext pCtx) { |
| 924 | − int32_t iScalingListNum = 0; | |
| 925 | 924 | if (pCtx->pSps->bSeqScalingMatrixPresentFlag || pCtx->pPps->bPicScalingMatrixPresentFlag) { |
| 926 | 925 | pCtx->bUseScalingList = true; |
| 927 | − iScalingListNum = (pCtx->pSps->uiChromaFormatIdc != 3) ? 8 : 12; | |
| 928 | 926 | |
| 929 | 927 | if (!pCtx->bDequantCoeff4x4Init || (pCtx->iDequantCoeffPpsid != pCtx->pPps->iPpsId)) { |
| 930 | 928 | int i, q, x; |