diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-09 13:28:04 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-09 13:28:04 +0000 |
commit | 14b8607065ff7204cff29b108e42fd930a52a5ed (patch) | |
tree | eb04acb8a0efea46d50055f7af472d9597ab37c8 /libavcodec/wma.c | |
parent | b090930d432957a06f78701212b3024f93958f17 (diff) | |
download | ffmpeg-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.c | 4 |
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]; } |