Browse Source

Alignment of the LT window, segfault fix patch by Baptiste Coudurier.

Originally committed as revision 6051 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier Benjamin Larsson 19 years ago
parent
commit
b3701f5cc0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/wmadec.c

+ 1
- 1
libavcodec/wmadec.c View File

@@ -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)));


Loading…
Cancel
Save