From 385a3420d1da2f6812dda56750b41edd469c6079 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 11 Jun 2014 21:09:54 -0400 Subject: [PATCH] vp9/x86: fix overwrite in ipred_vl_4x4_ssse3. Fixes track ticket 3717. Signed-off-by: Michael Niedermayer --- libavcodec/x86/vp9intrapred.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/x86/vp9intrapred.asm b/libavcodec/x86/vp9intrapred.asm index 2cab05ab2f..588d42a138 100644 --- a/libavcodec/x86/vp9intrapred.asm +++ b/libavcodec/x86/vp9intrapred.asm @@ -966,13 +966,13 @@ cglobal vp9_ipred_vl_4x4, 4, 4, 0, dst, stride, l, a psrlq m2, m1, 8 LOWPASS 2, 1, 0, 3 pavgb m1, m0 - movq [dstq+strideq*0], m1 - movq [dstq+strideq*1], m2 + movd [dstq+strideq*0], m1 + movd [dstq+strideq*1], m2 lea dstq, [dstq+strideq*2] psrlq m1, 8 psrlq m2, 8 - movq [dstq+strideq*0], m1 - movq [dstq+strideq*1], m2 + movd [dstq+strideq*0], m1 + movd [dstq+strideq*1], m2 RET %macro VL_XMM_FUNCS 1