ref: 045e47cede795030a94d741bf4254666c85fc608
parent: 65d35a35cf5db233ffa347ac5df5fb9fa591e76f
author: Timothy B. Terriberry <[email protected]>
date: Wed Jan 26 15:32:53 EST 2011
Improve accuracy of update_lowband test.
--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -1234,7 +1234,7 @@
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;
}