From 9e724d7216e693ba7af76caee5ccfb98c73d7a4b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Jun 2012 20:45:55 +0200 Subject: [PATCH] dct-test: fix alignment in ff_prores_idct_put_10_sse2() Signed-off-by: Michael Niedermayer --- libavcodec/dct-test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 2e45252f35..45d21bf284 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -104,8 +104,9 @@ void ff_prores_idct_put_10_sse2(uint16_t *dst, int linesize, DCTELEM *block, int16_t *qmat); static void ff_prores_idct_put_10_sse2_wrap(DCTELEM *dst){ - int16_t qmat[64]; int i; - int16_t tmp[64]; + DECLARE_ALIGNED(16, static int16_t, qmat)[64]; + DECLARE_ALIGNED(16, static int16_t, tmp)[64]; + int i; for(i=0; i<64; i++){ qmat[i]=4;