CELT updated to 0.9.0 (+ PLC fix)
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Mon, 8 Nov 2010 06:49:12 +0000 (14:49 +0800)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Mon, 8 Nov 2010 06:49:12 +0000 (14:49 +0800)
celt
src/opus_encoder.c

diff --git a/celt b/celt
index 4d2d9fc..1ad93cf 160000 (submodule)
--- a/celt
+++ b/celt
@@ -1 +1 @@
-Subproject commit 4d2d9fc9e6feb7060589664af5855c9ef762bc89
+Subproject commit 1ad93cf485b344abc9f8c67e4120fdb29536ea03
index e15f94b..60933d7 100644 (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 {