Improve accuracy of update_lowband test.

This commit is contained in:
Timothy B. Terriberry 2011-01-26 20:32:53 -08:00 committed by Jean-Marc Valin
parent 65d35a35cf
commit 045e47cede

View file

@ -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;
}