Commit ce466275 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '4d0d55cd'

* commit '4d0d55cd':
  checkasm: Use LOCAL_ALIGNED

See: f467fc02
See: 9e83ac61Merged-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parents f37a5dcb 4d0d55cd
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "checkasm.h" #include "checkasm.h"
#include "libavcodec/bswapdsp.h" #include "libavcodec/bswapdsp.h"
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#define BUF_SIZE 512 #define BUF_SIZE 512
...@@ -55,10 +56,10 @@ ...@@ -55,10 +56,10 @@
void checkasm_check_bswapdsp(void) void checkasm_check_bswapdsp(void)
{ {
DECLARE_ALIGNED(16, uint8_t, src0)[BUF_SIZE]; LOCAL_ALIGNED_16(uint8_t, src0, [BUF_SIZE]);
DECLARE_ALIGNED(16, uint8_t, src1)[BUF_SIZE]; LOCAL_ALIGNED_16(uint8_t, src1, [BUF_SIZE]);
DECLARE_ALIGNED(16, uint8_t, dst0)[BUF_SIZE]; LOCAL_ALIGNED_16(uint8_t, dst0, [BUF_SIZE]);
DECLARE_ALIGNED(16, uint8_t, dst1)[BUF_SIZE]; LOCAL_ALIGNED_16(uint8_t, dst1, [BUF_SIZE]);
BswapDSPContext h; BswapDSPContext h;
ff_bswapdsp_init(&h); ff_bswapdsp_init(&h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment