aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/dct-test.c
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2015-03-14 14:30:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-14 20:06:47 +0100
commit238db7cc56be4c4e71ff98758b7b8ef077ebd4ca (patch)
tree1581ad4da00380878e30c78ee1d041ef30bf9180 /libavcodec/x86/dct-test.c
parent98cccdd91c9aab9e031753f6feb81be0c44a9c8e (diff)
downloadffmpeg-238db7cc56be4c4e71ff98758b7b8ef077ebd4ca.tar.gz
x86: lavc: use LOCAL_ALIGNED instead of DECLARE_ALIGNED
The later may yield incorrect code for on-stack variables. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dct-test.c')
-rw-r--r--libavcodec/x86/dct-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/dct-test.c b/libavcodec/x86/dct-test.c
index d1a50677e8..193a69e3eb 100644
--- a/libavcodec/x86/dct-test.c
+++ b/libavcodec/x86/dct-test.c
@@ -28,8 +28,8 @@ void ff_prores_idct_put_10_sse2(uint16_t *dst, int linesize,
#define PR_WRAP(INSN) \
static void ff_prores_idct_put_10_##INSN##_wrap(int16_t *dst){ \
- DECLARE_ALIGNED(16, static int16_t, qmat)[64]; \
- DECLARE_ALIGNED(16, static int16_t, tmp)[64]; \
+ LOCAL_ALIGNED(16, int16_t, qmat, [64]); \
+ LOCAL_ALIGNED(16, int16_t, tmp, [64]); \
int i; \
\
for(i=0; i<64; i++){ \