Making a few functions static inline

This commit is contained in:
Jean-Marc Valin 2008-03-27 09:00:14 +11:00
parent 98c86c7885
commit fd8fda9937
4 changed files with 13 additions and 15 deletions

View file

@ -63,7 +63,7 @@ static void ec_enc_carry_out(ec_enc *_this,int _c){
else _this->ext++;
}
static void ec_enc_normalize(ec_enc *_this){
static inline void ec_enc_normalize(ec_enc *_this){
/*If the range is too small, output some bits and rescale it.*/
while(_this->rng<=EC_CODE_BOT){
ec_enc_carry_out(_this,(int)(_this->low>>EC_CODE_SHIFT));