From 045e47cede795030a94d741bf4254666c85fc608 Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" Date: Wed, 26 Jan 2011 20:32:53 -0800 Subject: [PATCH] Improve accuracy of update_lowband test. --- libcelt/bands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcelt/bands.c b/libcelt/bands.c index d3291935..ffb8f2a9 100644 --- a/libcelt/bands.c +++ b/libcelt/bands.c @@ -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<