From: Andre Noll Date: Thu, 15 Oct 2009 20:13:07 +0000 (+0200) Subject: remove unused field tmp_buf of struct fft_context. X-Git-Tag: v0.4.1~98 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=6b2414cd3ea3437ffb39d25ddc60eeecf3194ebc;p=paraslash.git remove unused field tmp_buf of struct fft_context. --- diff --git a/imdct.c b/imdct.c index 222fff15..a87ad201 100644 --- 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]);