Cosmetics. Merge declaration and initialization.

Originally committed as revision 19952 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Benjamin Larsson 2009-09-21 20:52:24 +00:00
parent b6a237025d
commit a872e5c1f4

View File

@ -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, static void at1_imdct(AT1Ctx *q, float *spec, float *out, int nbits,
int rev_spec) int rev_spec)
{ {
FFTContext* mdct_context; FFTContext* mdct_context = &q->mdct_ctx[nbits - 5 - (nbits > 6)];
int transf_size = 1 << nbits; int transf_size = 1 << nbits;
mdct_context = &q->mdct_ctx[nbits - 5 - (nbits > 6)];
if (rev_spec) { if (rev_spec) {
int i; int i;
for (i = 0; i < transf_size / 2; i++) for (i = 0; i < transf_size / 2; i++)