forked from len0rd/rockbox
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14207 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
98f0d77879
commit
aa2b7cbe03
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ static int build_table(VLC *vlc, int table_nb_bits,
|
||||||
code_prefix2= code & (n_prefix>=32 ? 0xffffffff : (uint32_t)(1 << n_prefix)-1);
|
code_prefix2= code & (n_prefix>=32 ? 0xffffffff : (uint32_t)(1 << n_prefix)-1);
|
||||||
else
|
else
|
||||||
code_prefix2= code >> n;
|
code_prefix2= code >> n;
|
||||||
if (n > 0 && (int)code_prefix2 == code_prefix) {
|
if (n > 0 && (int)code_prefix2 == (int)code_prefix) {
|
||||||
if (n <= table_nb_bits) {
|
if (n <= table_nb_bits) {
|
||||||
/* no need to add another table */
|
/* no need to add another table */
|
||||||
j = (code << (table_nb_bits - n)) & (table_size - 1);
|
j = (code << (table_nb_bits - n)) & (table_size - 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue