fixed-point: got stereo to work again by fixing renormalise_bands()
[opus.git] / libcelt / bitrenc.c
1 #ifdef HAVE_CONFIG_H
2 #include "config.h"
3 #endif
4
5 #include "bitrenc.h"
6
7 void ec_bitree_update(unsigned *_this,int _sz,int _sym,int _val){
8   do{
9     _this[_sym]+=_val;
10     _sym+=_sym+1&-(_sym+1);
11   }
12   while(_sym<_sz);
13 }