basis_universal: Update to 1.16.4

Almost no change in practice since the previous commit we tracked,
but now this is a tagged release.
This commit is contained in:
Rémi Verschelde 2023-05-11 14:39:12 +02:00
parent fd4a06c515
commit 0ff337d20f
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 48 additions and 2 deletions

View file

@ -162,7 +162,7 @@ namespace basist
next_code[i + 1] = (total = ((total + syms_using_codesize[i]) << 1));
}
if (((1U << basisu::cHuffmanMaxSupportedInternalCodeSize) != total) && (used_syms > 1U))
if (((1U << basisu::cHuffmanMaxSupportedInternalCodeSize) != total) && (used_syms != 1U))
return false;
for (int tree_next = -1, sym_index = 0; sym_index < (int)total_syms; ++sym_index)