OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e43b0a7
)
Fix index to ff_sine_windows[]. Previously the index was usually in reverse
author
Robert Swain
<robert.swain@gmail.com>
Sun, 24 Aug 2008 08:31:19 +0000
(08:31 +0000)
committer
Robert Swain
<robert.swain@gmail.com>
Sun, 24 Aug 2008 08:31:19 +0000
(08:31 +0000)
order.
Originally committed as revision 14940 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wma.c
patch
|
blob
|
history
diff --git
a/libavcodec/wma.c
b/libavcodec/wma.c
index
6c7e14b
..
2bbb099
100644
(file)
--- a/
libavcodec/wma.c
+++ b/
libavcodec/wma.c
@@
-302,8
+302,8
@@
int ff_wma_init(AVCodecContext * avctx, int flags2)
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[
i
], n);
- s->windows[i] = ff_sine_windows[
i
];
+ ff_sine_window_init(ff_sine_windows[
s->frame_len_bits - i - 7
], n);
+ s->windows[i] = ff_sine_windows[
s->frame_len_bits - i - 7
];
}
s->reset_block_lengths = 1;