Minor tweak to the band layout offset

This commit is contained in:
Jean-Marc Valin 2010-04-21 18:09:07 -04:00
parent 6578ea0e26
commit be8d1259af

View file

@ -149,6 +149,8 @@ static celt_int16 *compute_ebands(celt_int32 Fs, int frame_size, int nbShortMdct
/* Linear spacing (min_width) */ /* Linear spacing (min_width) */
for (i=0;i<low;i++) for (i=0;i<low;i++)
eBands[i] = min_bins*i; eBands[i] = min_bins*i;
if (low>0)
offset = eBands[low-1]*res - bark_freq[lin-1];
/* Spacing follows critical bands */ /* Spacing follows critical bands */
for (i=0;i<high;i++) for (i=0;i<high;i++)
{ {