]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - imdct.c
remove unused field tmp_buf of struct fft_context.
[paraslash.git] / imdct.c
diff --git a/imdct.c b/imdct.c
index 89ee2dfb4ff8c48e78ad589d8bba0102d33bb153..a87ad2018df6306f83ec2e620af2823e57355c79 100644 (file)
--- a/imdct.c
+++ b/imdct.c
@@ -42,8 +42,6 @@ struct fft_context {
        int inverse;
        uint16_t *revtab;
        struct fft_complex *exptab;
-       struct fft_complex *exptab1;    /* only used by SSE code */
-       struct fft_complex *tmp_buf;
 };
 
 struct mdct_context {
@@ -334,13 +332,10 @@ static int fft_init(struct fft_context *s, int nbits, int inverse)
        s->nbits = nbits;
        n = 1 << nbits;
 
-       s->tmp_buf = NULL;
        s->exptab = para_malloc((n / 2) * sizeof(struct fft_complex));
        s->revtab = para_malloc(n * sizeof(uint16_t));
        s->inverse = inverse;
 
-       s->exptab1 = NULL;
-
        for (j = 4; j <= nbits; j++) {
                int k = 1 << j;
                double freq = 2 * M_PI / k;
@@ -353,7 +348,6 @@ static int fft_init(struct fft_context *s, int nbits, int inverse)
        for (i = 0; i < n; i++)
                s->revtab[-split_radix_permutation(
                        i, n, s->inverse) & (n - 1)] = i;
-       s->tmp_buf = para_malloc(n * sizeof(struct fft_complex));
        return 0;
 }
 
@@ -361,8 +355,6 @@ static void fft_end(struct fft_context *ctx)
 {
        freep(&ctx->revtab);
        freep(&ctx->exptab);
-       freep(&ctx->exptab1);
-       freep(&ctx->tmp_buf);
 }
 
 DECLARE_ALIGNED(16, float, ff_sine_128[128]);