Commit e3b5efbc authored by superdump's avatar superdump

Fix index to ff_sine_windows[]. Previously the index was usually in reverse

order.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14940 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 71a8ab9d
...@@ -302,8 +302,8 @@ int ff_wma_init(AVCodecContext * avctx, int flags2) ...@@ -302,8 +302,8 @@ int ff_wma_init(AVCodecContext * avctx, int flags2)
for(i = 0; i < s->nb_block_sizes; i++) { for(i = 0; i < s->nb_block_sizes; i++) {
int n; int n;
n = 1 << (s->frame_len_bits - i); n = 1 << (s->frame_len_bits - i);
ff_sine_window_init(ff_sine_windows[i], n); ff_sine_window_init(ff_sine_windows[s->frame_len_bits - i - 7], n);
s->windows[i] = ff_sine_windows[i]; s->windows[i] = ff_sine_windows[s->frame_len_bits - i - 7];
} }
s->reset_block_lengths = 1; s->reset_block_lengths = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment