changeset 5435:fff2e4b07e28 libavcodec

align array used in mdct. fixes segfault.
author jbr
date Wed, 01 Aug 2007 01:13:58 +0000
parents 4f2e3ef72b32
children b4d41cc053b8
files ac3dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;