Browse Source

mdct: remove unnecessary multiplication

3*n4 was already calculated in n3.
tags/n0.8
Young Han Lee Mans Rullgard 14 years ago
parent
commit
979395bbbb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mdct.c

+ 1
- 1
libavcodec/mdct.c View File

@@ -202,7 +202,7 @@ void ff_mdct_calc_c(FFTContext *s, FFTSample *out, const FFTSample *input)

/* pre rotation */
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];
j = revtab[i];
CMUL(x[j].re, x[j].im, re, im, -tcos[i], tsin[i]);


Loading…
Cancel
Save