OSDN Git Service

align array used in mdct. fixes segfault.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 1 Aug 2007 01:13:58 +0000 (01:13 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 1 Aug 2007 01:13:58 +0000 (01:13 +0000)
Originally committed as revision 9848 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3dec.c

index 9d72c5a..b9614e7 100644 (file)
@@ -686,7 +686,7 @@ static void do_rematrixing(AC3DecodeContext *ctx)
 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;