This fixes the checkasm test in some setups on x86.
Unified · Split
| @@ -48,8 +48,8 @@ static void test_motion(const char *name, me_cmp_func test_func) · 47 unmodified lines | |||
| 48 | int i, x, y, d1, d2; | 48 | int i, x, y, d1, d2; |
| 49 | uint8_t *ptr; | 49 | uint8_t *ptr; |
| 50 | 50 | ||
| 51 | LOCAL_ALIGNED_8(uint8_t, img1, [WIDTH * HEIGHT]); | 51 | LOCAL_ALIGNED_16(uint8_t, img1, [WIDTH * HEIGHT]); |
| 52 | LOCAL_ALIGNED_8(uint8_t, img2, [WIDTH * HEIGHT]); | 52 | LOCAL_ALIGNED_16(uint8_t, img2, [WIDTH * HEIGHT]); |
| 53 | 53 | ||
| 54 | declare_func_emms(AV_CPU_FLAG_MMX, int, struct MpegEncContext *c, | 54 | declare_func_emms(AV_CPU_FLAG_MMX, int, struct MpegEncContext *c, |
| 55 | uint8_t *blk1 /* align width (8 or 16) */, | 55 | uint8_t *blk1 /* align width (8 or 16) */, |