Re-ordered the parameters in the stream: [energy, pitch index, pitch gains]
Also fixed a bug that was exposed by the change (and removed some warnings)
This commit is contained in:
parent
6c1f604944
commit
cb7a2a3d52
9 changed files with 18 additions and 16 deletions
|
@ -192,7 +192,6 @@ int vec_bits2pulses(const struct alloc_data *alloc, const int *bands, int *bits,
|
|||
|
||||
for (i=0;i<len;i++)
|
||||
{
|
||||
int N = (bands[i+1]-bands[i])*BC;
|
||||
pulses[i] = bits2pulses(alloc, i, bits[i]);
|
||||
sum += alloc->bits[i][pulses[i]];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue