diff ac3dec.c @ 5435:fff2e4b07e28 libavcodec

align array used in mdct. fixes segfault.
author jbr
date Wed, 01 Aug 2007 01:13:58 +0000
parents 8bf7358978c8
children 19bb5e64a57c
line wrap: on
line diff
--- a/ac3dec.c	Wed Aug 01 01:01:03 2007 +0000
+++ b/ac3dec.c	Wed Aug 01 01:13:58 2007 +0000
@@ -686,7 +686,7 @@
 static void do_imdct_256(AC3DecodeContext *ctx, int chindex)
 {
     int i, k;
-    float x[128];
+    DECLARE_ALIGNED_16(float, x[128]);
     FFTComplex z[2][64];
     float *o_ptr = ctx->tmp_output;