CELT updated to 0.9.0 (+ PLC fix)

This commit is contained in:
Jean-Marc Valin 2010-11-08 14:49:12 +08:00
parent 05dd36a1b3
commit ae1fad2e26
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size,
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 {