Mercurial > libavcodec.hg
diff wma.c @ 10827:3d011a01a6a0 libavcodec
Add support for hard-coded MDCT-related ff_sine_windows tables.
author | reimar |
---|---|
date | Sat, 09 Jan 2010 13:28:04 +0000 |
parents | ab687351bfef |
children | c29ee479e359 |
line wrap: on
line diff
--- a/wma.c Sat Jan 09 07:57:26 2010 +0000 +++ b/wma.c Sat Jan 09 13:28:04 2010 +0000 @@ -343,9 +343,7 @@ /* 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]; }