Mercurial > libavcodec.hg
diff atrac1.c @ 10199:38ab367d4231 libavcodec
Merge FFTContext and MDCTContext
author | mru |
---|---|
date | Sun, 20 Sep 2009 17:30:20 +0000 |
parents | 78af613fc316 |
children | a43faa684a20 |
line wrap: on
line diff
--- a/atrac1.c Sun Sep 20 17:18:59 2009 +0000 +++ b/atrac1.c Sun Sep 20 17:30:20 2009 +0000 @@ -79,7 +79,7 @@ DECLARE_ALIGNED_16(float, high[512]); float* bands[3]; DECLARE_ALIGNED_16(float, out_samples[AT1_MAX_CHANNELS][AT1_SU_SAMPLES]); - MDCTContext mdct_ctx[3]; + FFTContext mdct_ctx[3]; int channels; DSPContext dsp; } AT1Ctx; @@ -94,7 +94,7 @@ static void at1_imdct(AT1Ctx *q, float *spec, float *out, int nbits, int rev_spec) { - MDCTContext* mdct_context; + FFTContext* mdct_context; int transf_size = 1 << nbits; mdct_context = &q->mdct_ctx[nbits - 5 - (nbits > 6)];