diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-01-04 02:01:18 -0600 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-23 14:23:04 +0000 |
commit | 14c6bb798d6bebc80f07e863236adbaf8d156a9c (patch) | |
tree | 551a4b641906c2626af844fa3239c1b2b1ff0ad3 /lib/rbcodec/codecs/libopus/celt/entenc.c | |
parent | 75d93937965ec4df70d37df6d4feea04577c996b (diff) | |
download | rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.tar.gz rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.zip |
Sync opus codec to upstream git
Change-Id: I0cfcc0005c4ad7bfbb1aaf454188ce70fb043dc1
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/entenc.c')
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/entenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/entenc.c b/lib/rbcodec/codecs/libopus/celt/entenc.c index 271e4d30c5..f1750d25b8 100644 --- a/lib/rbcodec/codecs/libopus/celt/entenc.c +++ b/lib/rbcodec/codecs/libopus/celt/entenc.c | |||
@@ -98,7 +98,7 @@ static void ec_enc_carry_out(ec_enc *_this,int _c){ | |||
98 | else _this->ext++; | 98 | else _this->ext++; |
99 | } | 99 | } |
100 | 100 | ||
101 | static void ec_enc_normalize(ec_enc *_this){ | 101 | static OPUS_INLINE void ec_enc_normalize(ec_enc *_this){ |
102 | /*If the range is too small, output some bits and rescale it.*/ | 102 | /*If the range is too small, output some bits and rescale it.*/ |
103 | while(_this->rng<=EC_CODE_BOT){ | 103 | while(_this->rng<=EC_CODE_BOT){ |
104 | ec_enc_carry_out(_this,(int)(_this->val>>EC_CODE_SHIFT)); | 104 | ec_enc_carry_out(_this,(int)(_this->val>>EC_CODE_SHIFT)); |