aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-10 20:45:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-10 20:45:55 +0200
commit9e724d7216e693ba7af76caee5ccfb98c73d7a4b (patch)
tree8740fe70b2381429fdb019c7b2a31cfd83b5dc25
parent234d42f53bad912290c0c6a5a7fd886bc47007ce (diff)
downloadffmpeg-9e724d7216e693ba7af76caee5ccfb98c73d7a4b.tar.gz
dct-test: fix alignment in ff_prores_idct_put_10_sse2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/dct-test.c5
1 files 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;