Fixed stupid bug for single-sample bands

This commit is contained in:
Jean-Marc Valin 2010-05-31 09:51:36 -04:00
parent 43e9406201
commit 4f0de0ba6a

View file

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