From 6b2414cd3ea3437ffb39d25ddc60eeecf3194ebc Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 15 Oct 2009 22:13:07 +0200 Subject: [PATCH] remove unused field tmp_buf of struct fft_context. --- imdct.c | 4 ---- 1 file changed, 4 deletions(-) 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]); -- 2.39.2