mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
[LMCS] Add an assert in deriveReshapeParametersSDR to remove static analyser warning
This commit is contained in:
parent
915057c0c5
commit
3fadd91fb5
|
@ -489,6 +489,7 @@ static void deriveReshapeParametersSDR(lmcs_aps* aps, bool* intraAdp, bool* inte
|
|||
double percBinVarLessThenVal1 = 0.0;
|
||||
double percBinVarLessThenVal2 = 0.0;
|
||||
double percBinVarLessThenVal3 = 0.0;
|
||||
assert(aps->m_binNum > 2); // For static analyzer to figure out we are not out-of-bounds
|
||||
assert(aps->m_binNum <= PIC_ANALYZE_CW_BINS);
|
||||
//int* binIdxSortDsd = malloc(sizeof(int) * aps->m_binNum);
|
||||
//double* binVarSortDsd = malloc(sizeof(double) * aps->m_binNum);
|
||||
|
|
Loading…
Reference in a new issue