projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509972d
)
remove unused exptab field of struct fft_complex.
author
Andre Noll
<maan@systemlinux.org>
Fri, 16 Oct 2009 20:03:12 +0000
(22:03 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:15 +0000
(19:34 +0100)
imdct.c
patch
|
blob
|
history
diff --git
a/imdct.c
b/imdct.c
index
73600cb
..
d04fe60
100644
(file)
--- a/
imdct.c
+++ b/
imdct.c
@@
-36,7
+36,6
@@
struct fft_complex {
struct fft_context {
int nbits;
uint16_t *revtab;
- struct fft_complex *exptab;
};
struct mdct_context {
@@
-327,7
+326,6
@@
static int fft_init(struct fft_context *s, int nbits)
s->nbits = nbits;
n = 1 << nbits;
- s->exptab = para_malloc((n / 2) * sizeof(struct fft_complex));
s->revtab = para_malloc(n * sizeof(uint16_t));
for (j = 4; j <= nbits; j++) {
int k = 1 << j;
@@
-346,7
+344,6
@@
static int fft_init(struct fft_context *s, int nbits)
static void fft_end(struct fft_context *ctx)
{
freep(&ctx->revtab);
- freep(&ctx->exptab);
}
/**