mdct: remove unnecessary multiplication
3*n4 was already calculated in n3.
This commit is contained in:
parent
5b54d4b376
commit
979395bbbb
@ -202,7 +202,7 @@ void ff_mdct_calc_c(FFTContext *s, FFTSample *out, const FFTSample *input)
|
|||||||
|
|
||||||
/* pre rotation */
|
/* pre rotation */
|
||||||
for(i=0;i<n8;i++) {
|
for(i=0;i<n8;i++) {
|
||||||
re = -input[2*i+3*n4] - input[n3-1-2*i];
|
re = -input[2*i+n3] - input[n3-1-2*i];
|
||||||
im = -input[n4+2*i] + input[n4-1-2*i];
|
im = -input[n4+2*i] + input[n4-1-2*i];
|
||||||
j = revtab[i];
|
j = revtab[i];
|
||||||
CMUL(x[j].re, x[j].im, re, im, -tcos[i], tsin[i]);
|
CMUL(x[j].re, x[j].im, re, im, -tcos[i], tsin[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user