# HG changeset patch # User michael # Date 1220881032 0 # Node ID 67cfe4983e6ddbdf2ae5e8c3e50007b7e7777d77 # Parent 39b409447bfad3951d3922541e38c2a2167714b0 Try to fix wma regression. diff -r 39b409447bfa -r 67cfe4983e6d mdct.c --- a/mdct.c Mon Sep 08 05:17:17 2008 +0000 +++ b/mdct.c Mon Sep 08 13:37:12 2008 +0000 @@ -59,10 +59,9 @@ // 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))); } /**