Fixes a stereo bug introduced in the previous commit

This commit is contained in:
Jean-Marc Valin 2010-08-11 20:38:19 -04:00
parent bb338a9317
commit 6ac26ecf2d

View file

@ -210,7 +210,7 @@ void quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd,
buf_start_state = *(enc->buf); buf_start_state = *(enc->buf);
ALLOC(oldEBands_intra, C*m->nbEBands, celt_word16); ALLOC(oldEBands_intra, C*m->nbEBands, celt_word16);
ALLOC(error_intra, m->nbEBands, celt_word16); ALLOC(error_intra, C*m->nbEBands, celt_word16);
CELT_COPY(oldEBands_intra, oldEBands, C*end); CELT_COPY(oldEBands_intra, oldEBands, C*end);
quant_coarse_energy_impl(m, start, end, eBands, oldEBands_intra, budget, quant_coarse_energy_impl(m, start, end, eBands, oldEBands_intra, budget,