From f49814214355913458f9f7635561365afa5bc7aa Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 22 Sep 2012 12:01:01 +0200 Subject: opus: #if 0 out some unused code Change-Id: I16fa9b439f8da5b9b8a4f17040487b9535078ec5 --- lib/rbcodec/codecs/libopus/celt/celt.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/rbcodec/codecs/libopus/celt/celt.c') diff --git a/lib/rbcodec/codecs/libopus/celt/celt.c b/lib/rbcodec/codecs/libopus/celt/celt.c index 8d42cc95b3..a4afb247b1 100644 --- a/lib/rbcodec/codecs/libopus/celt/celt.c +++ b/lib/rbcodec/codecs/libopus/celt/celt.c @@ -198,6 +198,7 @@ struct OpusCustomEncoder { /* opus_val16 oldEBands[], Size = 2*channels*mode->nbEBands */ }; +#if 0 int celt_encoder_get_size(int channels) { CELTMode *mode = opus_custom_mode_create(48000, 960, NULL); @@ -280,6 +281,7 @@ void opus_custom_encoder_destroy(CELTEncoder *st) opus_free(st); } #endif /* CUSTOM_MODES */ +#endif static inline opus_val16 SIG2WORD16(celt_sig x) { @@ -293,6 +295,7 @@ static inline opus_val16 SIG2WORD16(celt_sig x) #endif } +#if 0 static int transient_analysis(const opus_val32 * OPUS_RESTRICT in, int len, int C, int overlap) { @@ -410,6 +413,7 @@ static void compute_mdcts(const CELTMode *mode, int shortBlocks, celt_sig * OPUS } while (++c