From: Andre Noll Date: Fri, 16 Oct 2009 20:10:09 +0000 (+0200) Subject: open code fft_end(). X-Git-Tag: v0.4.1~93 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=537de45f0091a6129bc26602496384b464117863;p=paraslash.git open code fft_end(). --- diff --git a/imdct.c b/imdct.c index d04fe601..db68bc83 100644 --- a/imdct.c +++ b/imdct.c @@ -341,11 +341,6 @@ static int fft_init(struct fft_context *s, int nbits) return 0; } -static void fft_end(struct fft_context *ctx) -{ - freep(&ctx->revtab); -} - /** * Initialize the inverse modified cosine transform. */ @@ -384,6 +379,6 @@ void imdct_end(struct mdct_context *ctx) { freep(&ctx->tcos); freep(&ctx->tsin); - fft_end(&ctx->fft); + freep(&ctx->fft.revtab); free(ctx); }