Merge commit '4d0d55cd623bcd504867f948849380f6b4060b4d'

* commit '4d0d55cd623bcd504867f948849380f6b4060b4d':
  checkasm: Use LOCAL_ALIGNED

See: f467fc02b4
See: 9e83ac6114
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-07-26 11:39:09 +02:00
commit ce466275f8
1 changed files with 5 additions and 4 deletions

View File

@ -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);