diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-11-08 09:49:12 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-11-08 09:49:12 +0300 |
commit | ae1fad2e26aee9092f7b5d68bf86bf9a0f193745 (patch) | |
tree | c5f69ff684693cf7be70682083f400c290e13760 | |
parent | 05dd36a1b36670b1eb9d8f510ad1aa82944ac091 (diff) |
CELT updated to 0.9.0 (+ PLC fix)
m--------- | celt | 10 | ||||
-rw-r--r-- | src/opus_encoder.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/celt b/celt -Subproject 4d2d9fc9e6feb7060589664af5855c9ef762bc8 +Subproject 1ad93cf485b344abc9f8c67e4120fdb29536ea0 diff --git a/src/opus_encoder.c b/src/opus_encoder.c index e15f94ba..60933d7d 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -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 { |