cleaning up some of the mode stuff

This commit is contained in:
Jean-Marc Valin 2008-03-08 15:21:24 +11:00
parent 03f9ed3005
commit 3dbc1d0df9
5 changed files with 30 additions and 20 deletions

View file

@ -99,7 +99,7 @@ int quant_pitch(celt_pgain_t *gains, int len, ec_enc *enc)
int unquant_pitch(celt_pgain_t *gains, int len, ec_dec *dec)
{
int i, id;
int id;
id = ec_dec_uint(dec, 128);
id2gains(id, gains, len);
return id!=0;