From 4f0de0ba6a0b8edb6f386f948ab51bf1df209283 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Mon, 31 May 2010 09:51:36 -0400 Subject: [PATCH] Fixed stupid bug for single-sample bands --- libcelt/bands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcelt/bands.c b/libcelt/bands.c index 22812eaf..84582454 100644 --- a/libcelt/bands.c +++ b/libcelt/bands.c @@ -513,7 +513,7 @@ static void quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_ x[0] = sign ? -NORM_SCALING : NORM_SCALING; x = Y; } - if (c==0 && lowband_out) + if (lowband_out) lowband_out[0] = X[0]; return; }