Initialize a local variable
This fixes warnings with GCC about a variable that may be used uninitialized (if iResProperty was an incorrect value).
This commit is contained in:
parent
8de54078d7
commit
8b7be9f3bc
@ -825,7 +825,7 @@ int32_t ParseResidualBlockCabac (PWelsNeighAvail pNeighAvail, uint8_t* pNonZeroC
|
||||
uint32_t uiCbpBit;
|
||||
int32_t pSignificantMap[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
|
||||
int32_t iMbResProperty;
|
||||
int32_t iMbResProperty = 0;
|
||||
GetMbResProperty (&iMbResProperty, &iResProperty, false);
|
||||
const uint16_t* pDeQuantMul = (pCtx->bUseScalingList) ? pCtx->pDequant_coeff4x4[iMbResProperty][uiQp] :
|
||||
g_kuiDequantCoeff[uiQp];
|
||||
|
Loading…
Reference in New Issue
Block a user