diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-06-08 02:55:58 +0400 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-06-08 02:55:58 +0400 |
commit | 388c795531c4d544ce8283a01c8c015a74f3ea40 (patch) | |
tree | 520de3d73aeaa602a085955aa3aef658c5d278c6 /libavcodec/aacsbr.c | |
parent | 932963b8e2e96b3d8c7506d9cf093b54f89d1e78 (diff) |
10l: Fix types and now unused variables after last commit.
Originally committed as revision 23517 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aacsbr.c')
-rw-r--r-- | libavcodec/aacsbr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index 540c30a5aa..4a3377d812 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -84,7 +84,7 @@ static const DECLARE_ALIGNED(16, float, zero64)[64]; av_cold void ff_aac_sbr_init(void) { - int n, k; + int n; static const struct { const void *sbr_codes, *sbr_bits; const unsigned int table_size, elem_size; @@ -1126,7 +1126,7 @@ static void sbr_dequant(SpectralBandReplication *sbr, int id_aac) * @param x pointer to the beginning of the first sample window * @param W array of complex-valued samples split into subbands */ -static void sbr_qmf_analysis(DSPContext *dsp, RDFTContext *mdct, const float *in, float *x, +static void sbr_qmf_analysis(DSPContext *dsp, FFTContext *mdct, const float *in, float *x, float z[320], float W[2][32][32][2], float scale) { @@ -1139,7 +1139,6 @@ static void sbr_qmf_analysis(DSPContext *dsp, RDFTContext *mdct, const float *in memcpy(x+288, in, 1024*sizeof(*x)); for (i = 0; i < 32; i++) { // numTimeSlots*RATE = 16*2 as 960 sample frames // are not supported - float re, im; dsp->vector_fmul_reverse(z, sbr_qmf_window_ds, x, 320); for (k = 0; k < 64; k++) { float f = z[k] + z[k + 64] + z[k + 128] + z[k + 192] + z[k + 256]; |