Error checking on the decoder side

This commit is contained in:
Jean-Marc Valin 2010-07-18 21:20:35 -04:00
parent 9d785afb67
commit b1e017f58d
7 changed files with 43 additions and 16 deletions

View file

@ -144,6 +144,7 @@ void ec_dec_init(ec_dec *_this,ec_byte_buffer *_buf){
/*_this->end_byte=ec_byte_look_at_end(_this->buf);*/
_this->end_bits_left=0;
_this->nb_end_bits=0;
_this->error=0;
}