diff --git a/libcelt/modes.c b/libcelt/modes.c index 2ec547aa..7447a5c4 100644 --- a/libcelt/modes.c +++ b/libcelt/modes.c @@ -149,6 +149,8 @@ static celt_int16 *compute_ebands(celt_int32 Fs, int frame_size, int nbShortMdct /* Linear spacing (min_width) */ for (i=0;i0) + offset = eBands[low-1]*res - bark_freq[lin-1]; /* Spacing follows critical bands */ for (i=0;i