Commit 4134c393 authored by michael's avatar michael

Try to fix wma regression.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15261 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2ab46db0
......@@ -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)));
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment