diff options
author | James Almer <jamrial@gmail.com> | 2014-09-25 15:04:50 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-09-25 16:00:16 -0300 |
commit | 4b892e469bc9a1ccc10789b4b838bb7b1968cf6d (patch) | |
tree | e07321065fdcab1e6053159d782bc5fab7031958 | |
parent | e113692c899f6d0b9e9f4307865d3c0a030fa20c (diff) | |
download | ffmpeg-4b892e469bc9a1ccc10789b4b838bb7b1968cf6d.tar.gz |
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: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/x86/cavsdsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/cavsdsp.c b/libavcodec/x86/cavsdsp.c index 681d16afce..190f6eed66 100644 --- a/libavcodec/x86/cavsdsp.c +++ b/libavcodec/x86/cavsdsp.c @@ -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) { int i; - DECLARE_ALIGNED(8, int16_t, b2)[64]; + DECLARE_ALIGNED(16, int16_t, b2)[64]; for(i=0; i<2; i++){ DECLARE_ALIGNED(8, uint64_t, tmp); |