yadif: specify array size outside DECLARE_ALIGNED

pull/3/merge
Janne Grunau 13 years ago
parent 73e15e8e6b
commit 456d3e4fb5
  1. 8
      libavfilter/x86/yadif_template.c

@ -107,10 +107,10 @@ void RENAME(ff_yadif_filter_line)(uint8_t *dst,
uint8_t *prev, uint8_t *cur, uint8_t *next, uint8_t *prev, uint8_t *cur, uint8_t *next,
int w, int prefs, int mrefs, int parity, int mode) int w, int prefs, int mrefs, int parity, int mode)
{ {
DECLARE_ALIGNED(16, uint8_t, tmp0[16]); DECLARE_ALIGNED(16, uint8_t, tmp0)[16];
DECLARE_ALIGNED(16, uint8_t, tmp1[16]); DECLARE_ALIGNED(16, uint8_t, tmp1)[16];
DECLARE_ALIGNED(16, uint8_t, tmp2[16]); DECLARE_ALIGNED(16, uint8_t, tmp2)[16];
DECLARE_ALIGNED(16, uint8_t, tmp3[16]); DECLARE_ALIGNED(16, uint8_t, tmp3)[16];
int x; int x;
#define FILTER\ #define FILTER\

Loading…
Cancel
Save