projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bc0c79
)
Try to fix wma regression.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 8 Sep 2008 13:37:12 +0000
(13:37 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 8 Sep 2008 13:37:12 +0000
(13:37 +0000)
Originally committed as revision 15261 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mdct.c
patch
|
blob
|
history
diff --git
a/libavcodec/mdct.c
b/libavcodec/mdct.c
index
0447c64
..
c85b82f
100644
(file)
--- a/
libavcodec/mdct.c
+++ b/
libavcodec/mdct.c
@@
-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] = sin
f((i + 0.5) * (M_PI / (2.0 * n))
);
}
/**