Mercurial > libavcodec.hg
changeset 3606:e28285ddde8d libavcodec
Alignment of the LT window, segfault fix patch by Baptiste Coudurier.
author | banan |
---|---|
date | Tue, 22 Aug 2006 16:23:56 +0000 |
parents | 6702a154df1f |
children | 997036dffa26 |
files | wmadec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wmadec.c Tue Aug 22 13:25:09 2006 +0000 +++ b/wmadec.c Tue Aug 22 16:23:56 2006 +0000 @@ -715,7 +715,7 @@ { 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)));