Improve accuracy of update_lowband test.
This commit is contained in:
parent
65d35a35cf
commit
045e47cede
1 changed files with 1 additions and 1 deletions
|
@ -1234,7 +1234,7 @@ void quant_all_bands(int encode, const CELTMode *m, int start, int end,
|
|||
balance += pulses[i] + tell;
|
||||
|
||||
/* Update the folding position only as long as we have 1 bit/sample depth */
|
||||
update_lowband = (b>>BITRES)>N;
|
||||
update_lowband = b>(N<<BITRES);
|
||||
}
|
||||
RESTORE_STACK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue