Commit ad47335f authored by alex's avatar alex

altivec workaround


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3259 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 296dee87
...@@ -702,7 +702,12 @@ static int wma_decode_block(WMADecodeContext *s) ...@@ -702,7 +702,12 @@ static int wma_decode_block(WMADecodeContext *s)
int n, v, a, ch, code, bsize; int n, v, a, ch, code, bsize;
int coef_nb_bits, total_gain, parse_exponents; int coef_nb_bits, total_gain, parse_exponents;
float window[BLOCK_MAX_SIZE * 2]; 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)));
#else
int nb_coefs[MAX_CHANNELS]; int nb_coefs[MAX_CHANNELS];
#endif
float mdct_norm; float mdct_norm;
#ifdef TRACE #ifdef TRACE
......
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