From 49d677b74b5a2cdc9393ec217201edcfd0e06548 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin <jean-marc.valin@octasic.com> Date: Thu, 3 Mar 2011 16:53:32 -0500 Subject: [PATCH] Fix redundancy mismatch --- src/opus_encoder.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/opus_encoder.c b/src/opus_encoder.c index 4910fd998..4ac580e36 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -184,7 +184,7 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size, /* CELT processing */ if (st->mode != MODE_SILK_ONLY) { - int endband; + int endband; short pcm_buf[960*2]; int nb_compr_bytes; @@ -232,7 +232,6 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size, if (st->mode == MODE_HYBRID) { int len; - celt_encoder_ctl(st->celt_enc, CELT_SET_START_BAND(17)); len = (ec_tell(&enc)+7)>>3; if( st->use_vbr ) { @@ -242,7 +241,6 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size, nb_compr_bytes = len > bytes_target ? len : bytes_target; } } else { - celt_encoder_ctl(st->celt_enc, CELT_SET_START_BAND(0)); if (st->use_vbr) { celt_encoder_ctl(st->celt_enc, CELT_SET_VBR(1)); -- GitLab