Proper use of logN and logM for the offsets
diff --git a/libcelt/modes.c b/libcelt/modes.c
index 69165a1..147dcc1 100644
--- a/libcelt/modes.c
+++ b/libcelt/modes.c
@@ -379,7 +379,7 @@
       goto failure;
 
    for (i=0;i<mode->nbEBands;i++)
-      logN[i] = log2_frac(mode->nbShortMdcts*(mode->eBands[i+1]-mode->eBands[i]), BITRES);
+      logN[i] = log2_frac(mode->eBands[i+1]-mode->eBands[i], BITRES);
    mode->logN = logN;
 #endif /* !STATIC_MODES */