diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-03-14 16:26:16 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-14 22:36:43 +0300 |
commit | 3814f92fd77f8f09fa6f88333b8d06512b6ced82 (patch) | |
tree | 5b4b5dd038827408aa0bfeaabd3ae5af98795343 /libavcodec/dct-test.c | |
parent | 238db7cc56be4c4e71ff98758b7b8ef077ebd4ca (diff) |
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/dct-test.c')
-rw-r--r-- | libavcodec/dct-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 30eca3e818..56e1a629a7 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -66,7 +66,7 @@ static const struct algo fdct_tab[] = { }; static void ff_prores_idct_wrap(int16_t *dst){ - DECLARE_ALIGNED(16, static int16_t, qmat)[64]; + LOCAL_ALIGNED(16, int16_t, qmat, [64]); int i; for(i=0; i<64; i++){ |