diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-26 11:39:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-26 11:39:58 +0200 |
commit | ce466275f8d62dd8c20923c59cb0476cc0bd9e0f (patch) | |
tree | ee832fd0749c296b55fcdf09f30426a6c4aeb1d0 /tests | |
parent | f37a5dcb55d1cd9aebe84adccc4701c29a80d769 (diff) | |
parent | 4d0d55cd623bcd504867f948849380f6b4060b4d (diff) | |
download | ffmpeg-ce466275f8d62dd8c20923c59cb0476cc0bd9e0f.tar.gz |
Merge commit '4d0d55cd623bcd504867f948849380f6b4060b4d'
* commit '4d0d55cd623bcd504867f948849380f6b4060b4d':
checkasm: Use LOCAL_ALIGNED
See: f467fc02b475cd45b68aa5fb5f7c78286110ba86
See: 9e83ac6114de3d94eb992eff8ed810234069a7b2
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkasm/bswapdsp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/checkasm/bswapdsp.c b/tests/checkasm/bswapdsp.c index 6aa7a81c2c..b93c5bd1e0 100644 --- a/tests/checkasm/bswapdsp.c +++ b/tests/checkasm/bswapdsp.c @@ -22,6 +22,7 @@ #include "checkasm.h" #include "libavcodec/bswapdsp.h" #include "libavutil/common.h" +#include "libavutil/internal.h" #include "libavutil/intreadwrite.h" #define BUF_SIZE 512 @@ -55,10 +56,10 @@ void checkasm_check_bswapdsp(void) { - DECLARE_ALIGNED(16, uint8_t, src0)[BUF_SIZE]; - DECLARE_ALIGNED(16, uint8_t, src1)[BUF_SIZE]; - DECLARE_ALIGNED(16, uint8_t, dst0)[BUF_SIZE]; - DECLARE_ALIGNED(16, uint8_t, dst1)[BUF_SIZE]; + LOCAL_ALIGNED_16(uint8_t, src0, [BUF_SIZE]); + LOCAL_ALIGNED_16(uint8_t, src1, [BUF_SIZE]); + LOCAL_ALIGNED_16(uint8_t, dst0, [BUF_SIZE]); + LOCAL_ALIGNED_16(uint8_t, dst1, [BUF_SIZE]); BswapDSPContext h; ff_bswapdsp_init(&h); |