[libvpx] scan-build: Assigned value is garbage or undefined

This commit is contained in:
Andrey Volk 2021-04-23 14:46:06 +03:00
parent 92a55cf85a
commit 51ef2f261a
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static int remap_prob(int v, int m) {
i = recenter_nonneg(MAX_PROB - 1 - v, MAX_PROB - 1 - m) - 1;
assert(i >= 0 && (size_t)i < sizeof(map_table));
i = map_table[i];
if (i >= 0 && (size_t)i < sizeof(map_table)) i = map_table[i];
return i;
}