aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wma.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-01-09 13:28:04 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-01-09 13:28:04 +0000
commit14b8607065ff7204cff29b108e42fd930a52a5ed (patch)
treeeb04acb8a0efea46d50055f7af472d9597ab37c8 /libavcodec/wma.c
parentb090930d432957a06f78701212b3024f93958f17 (diff)
downloadffmpeg-14b8607065ff7204cff29b108e42fd930a52a5ed.tar.gz
Add support for hard-coded MDCT-related ff_sine_windows tables.
Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wma.c')
-rw-r--r--libavcodec/wma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/wma.c b/libavcodec/wma.c
index 9b2588f530..3322d0ed6a 100644
--- a/libavcodec/wma.c
+++ b/libavcodec/wma.c
@@ -343,9 +343,7 @@ int ff_wma_init(AVCodecContext *avctx, int flags2)
/* init MDCT windows : simple sinus window */
for (i = 0; i < s->nb_block_sizes; i++) {
- int n;
- n = 1 << (s->frame_len_bits - i);
- ff_sine_window_init(ff_sine_windows[s->frame_len_bits - i], n);
+ ff_init_ff_sine_windows(s->frame_len_bits - i);
s->windows[i] = ff_sine_windows[s->frame_len_bits - i];
}