]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
remove unused field tmp_buf of struct fft_context.
authorAndre Noll <maan@systemlinux.org>
Thu, 15 Oct 2009 20:13:07 +0000 (22:13 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:14 +0000 (19:34 +0100)
imdct.c

diff --git a/imdct.c b/imdct.c
index 222fff1559c34ef8b8e5eabefa5e957b4b8ff993..a87ad2018df6306f83ec2e620af2823e57355c79 100644 (file)
--- a/imdct.c
+++ b/imdct.c
@@ -42,7 +42,6 @@ struct fft_context {
        int inverse;
        uint16_t *revtab;
        struct fft_complex *exptab;
-       struct fft_complex *tmp_buf;
 };
 
 struct mdct_context {
@@ -333,7 +332,6 @@ 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;
@@ -350,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;
 }
 
@@ -358,7 +355,6 @@ static void fft_end(struct fft_context *ctx)
 {
        freep(&ctx->revtab);
        freep(&ctx->exptab);
-       freep(&ctx->tmp_buf);
 }
 
 DECLARE_ALIGNED(16, float, ff_sine_128[128]);