diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2009-09-22 00:52:24 +0400 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2009-09-22 00:52:24 +0400 |
commit | a872e5c1f4bdb3bf62264d580b1b857eeff1dc1a (patch) | |
tree | 6f9ffef5eb7f7cabfe4f6f24a3bbe97c416f87d5 /libavcodec/atrac1.c | |
parent | b6a237025d5a50fadf45ef855bd3416b6224ccc2 (diff) |
Cosmetics. Merge declaration and initialization.
Originally committed as revision 19952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/atrac1.c')
-rw-r--r-- | libavcodec/atrac1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c index fc2b6e4fca..00b01a53ad 100644 --- a/libavcodec/atrac1.c +++ b/libavcodec/atrac1.c @@ -92,11 +92,9 @@ static const uint8_t mdct_long_nbits[3] = {7, 7, 8}; static void at1_imdct(AT1Ctx *q, float *spec, float *out, int nbits, int rev_spec) { - FFTContext* mdct_context; + FFTContext* mdct_context = &q->mdct_ctx[nbits - 5 - (nbits > 6)]; int transf_size = 1 << nbits; - mdct_context = &q->mdct_ctx[nbits - 5 - (nbits > 6)]; - if (rev_spec) { int i; for (i = 0; i < transf_size / 2; i++) |