Removed potentially unused var in MDCT init
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 21 Mar 2008 02:11:16 +0000 (13:11 +1100)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 21 Mar 2008 02:11:16 +0000 (13:11 +1100)
libcelt/mdct.c

index 6b38524..d240ae8 100644 (file)
 void mdct_init(mdct_lookup *l,int N)
 {
    int i;
-   int N2, N4;
+   int N2;
    l->n = N;
    N2 = N/2;
-   N4 = N/4;
-   l->kfft = cpx32_fft_alloc(N4);
+   l->kfft = cpx32_fft_alloc(N/4);
    l->trig = (kiss_twiddle_scalar*)celt_alloc(N2*sizeof(kiss_twiddle_scalar));
    /* We have enough points that sine isn't necessary */
 #if defined(FIXED_POINT)