ref: 2ed05631f8bd29cfce7b6abe709052c9bab0cfde
parent: 6bf3b0a7a13e469d4a2e161143a240220f563150
author: Jean-Marc Valin <[email protected]>
date: Tue Jul 20 13:30:31 EDT 2010
Fixes a bug that could turn off folding at low rate when specifying a start band.
--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -942,7 +942,7 @@
if (M*eBands[i]-N >= M*eBands[start])
{
- if (update_lowband)
+ if (update_lowband || lowband==NULL)
lowband = norm+M*eBands[i]-N;
} else
lowband = NULL;