Mercurial > libavcodec.hg
changeset 7822:67cfe4983e6d libavcodec
Try to fix wma regression.
author | michael |
---|---|
date | Mon, 08 Sep 2008 13:37:12 +0000 |
parents | 39b409447bfa |
children | 4525dcd81357 |
files | mdct.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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))); } /**