diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-09 16:28:04 +0300 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-01-09 16:28:04 +0300 |
commit | 14b8607065ff7204cff29b108e42fd930a52a5ed (patch) | |
tree | eb04acb8a0efea46d50055f7af472d9597ab37c8 /libavcodec/wmaprodec.c | |
parent | b090930d432957a06f78701212b3024f93958f17 (diff) |
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/wmaprodec.c')
-rw-r--r-- | libavcodec/wmaprodec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index cbc97d9c82..dee47e0e2a 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -425,9 +425,8 @@ static av_cold int decode_init(AVCodecContext *avctx) /** init MDCT windows: simple sinus window */ for (i = 0; i < WMAPRO_BLOCK_SIZES; i++) { - const int n = 1 << (WMAPRO_BLOCK_MAX_BITS - i); const int win_idx = WMAPRO_BLOCK_MAX_BITS - i; - ff_sine_window_init(ff_sine_windows[win_idx], n); + ff_init_ff_sine_windows(win_idx); s->windows[WMAPRO_BLOCK_SIZES - i - 1] = ff_sine_windows[win_idx]; } |