summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2007-08-01 01:13:58 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2007-08-01 01:13:58 +0000
commitdfd57c366f5f99eb2638bed17c30e6019f99829e (patch)
treed49cccfac55be29b3b4dfdec4f89c6220d36233d /libavcodec/ac3dec.c
parent873525491efd51b1570b39c3c10f9f1fa610e376 (diff)
align array used in mdct. fixes segfault.
Originally committed as revision 9848 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 9d72c5abf5..b9614e7e6a 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -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;