]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
remove unused exptab field of struct fft_complex.
authorAndre Noll <maan@systemlinux.org>
Fri, 16 Oct 2009 20:03:12 +0000 (22:03 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:15 +0000 (19:34 +0100)
imdct.c

diff --git a/imdct.c b/imdct.c
index 73600cbebf2d269a946f929e3088fc26e538ac9d..d04fe601a60988b73916abb1ad53358f19c72954 100644 (file)
--- a/imdct.c
+++ b/imdct.c
@@ -36,7 +36,6 @@ struct fft_complex {
 struct fft_context {
        int nbits;
        uint16_t *revtab;
 struct fft_context {
        int nbits;
        uint16_t *revtab;
-       struct fft_complex *exptab;
 };
 
 struct mdct_context {
 };
 
 struct mdct_context {
@@ -327,7 +326,6 @@ static int fft_init(struct fft_context *s, int nbits)
        s->nbits = nbits;
        n = 1 << nbits;
 
        s->nbits = nbits;
        n = 1 << nbits;
 
-       s->exptab = para_malloc((n / 2) * sizeof(struct fft_complex));
        s->revtab = para_malloc(n * sizeof(uint16_t));
        for (j = 4; j <= nbits; j++) {
                int k = 1 << j;
        s->revtab = para_malloc(n * sizeof(uint16_t));
        for (j = 4; j <= nbits; j++) {
                int k = 1 << j;
@@ -346,7 +344,6 @@ static int fft_init(struct fft_context *s, int nbits)
 static void fft_end(struct fft_context *ctx)
 {
        freep(&ctx->revtab);
 static void fft_end(struct fft_context *ctx)
 {
        freep(&ctx->revtab);
-       freep(&ctx->exptab);
 }
 
 /**
 }
 
 /**