ref: ae1fad2e26aee9092f7b5d68bf86bf9a0f193745
parent: 05dd36a1b36670b1eb9d8f510ad1aa82944ac091
author: Jean-Marc Valin <[email protected]>
date: Mon Nov 8 09:49:12 EST 2010
CELT updated to 0.9.0 (+ PLC fix)
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -171,7 +171,7 @@
ec_byte_shrink(&buf, bytes_per_packet);
}
/* Encode high band with CELT */
- ret = celt_encode_with_ec(st->celt_enc, pcm_buf, NULL, frame_size, NULL, bytes_per_packet, &enc);
+ ret = celt_encode_with_ec(st->celt_enc, pcm_buf, frame_size, NULL, bytes_per_packet, &enc);
for (i=0;i<ENCODER_DELAY_COMPENSATION;i++)
st->delay_buffer[i] = pcm[frame_size-ENCODER_DELAY_COMPENSATION+i];
} else {