Commit 4b892e46 authored by James Almer's avatar James Almer

x86/cavsdsp: fix buffer alignment in cavs_idct8_add_mmx()

It may be used by ff_add_pixels_clamped_sse2().
Should fix fate-cavs failures on some systems.
Reviewed-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent e113692c
...@@ -139,7 +139,7 @@ static inline void cavs_idct8_1d(int16_t *block, uint64_t bias) ...@@ -139,7 +139,7 @@ static inline void cavs_idct8_1d(int16_t *block, uint64_t bias)
static void cavs_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride) static void cavs_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride)
{ {
int i; int i;
DECLARE_ALIGNED(8, int16_t, b2)[64]; DECLARE_ALIGNED(16, int16_t, b2)[64];
for(i=0; i<2; i++){ for(i=0; i<2; i++){
DECLARE_ALIGNED(8, uint64_t, tmp); DECLARE_ALIGNED(8, uint64_t, tmp);
......
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