git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fd15f
)
Alignment of the LT window, segfault fix patch by Baptiste Coudurier.
author
Baptiste Coudurier
<baptiste.coudurier@smartjog.com>
Tue, 22 Aug 2006 16:23:56 +0000
(16:23 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Tue, 22 Aug 2006 16:23:56 +0000
(16:23 +0000)
Originally committed as revision 6051 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wmadec.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmadec.c
b/libavcodec/wmadec.c
index
8f44817
..
b6c5116
100644
(file)
--- a/
libavcodec/wmadec.c
+++ b/
libavcodec/wmadec.c
@@
-715,7
+715,7
@@
static int wma_decode_block(WMADecodeContext *s)
{
int n, v, a, ch, code, bsize;
int coef_nb_bits, total_gain, parse_exponents;
-
float window[BLOCK_MAX_SIZE * 2]
;
+
DECLARE_ALIGNED_16(float, window[BLOCK_MAX_SIZE * 2])
;
// XXX: FIXME!! there's a bug somewhere which makes this mandatory under altivec
#ifdef HAVE_ALTIVEC
volatile int nb_coefs[MAX_CHANNELS] __attribute__((aligned(16)));