Browse Source

Try to fix wma regression.

Originally committed as revision 15261 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
71375e0500
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/mdct.c

+ 1
- 2
libavcodec/mdct.c View File

@@ -59,10 +59,9 @@ float *ff_sine_windows[5] = {

// Generate a sine window.
void ff_sine_window_init(float *window, int n) {
float alpha = M_PI / (2.0 * n);
int i;
for(i = 0; i < n; i++)
window[i] = sin((i + 0.5) * alpha);
window[i] = sinf((i + 0.5) * (M_PI / (2.0 * n)));
}

/**


Loading…
Cancel
Save