[FFmpeg-cvslog] vp9/x86: fix overwrite in ipred_vl_4x4_ssse3.

Ronald S. Bultje git at videolan.org
Thu Jun 12 08:53:30 CEST 2014


ffmpeg | branch: release/2.2 | Ronald S. Bultje <rsbultje at gmail.com> | Wed Jun 11 21:09:54 2014 -0400| [98f33430a2a7ecb98fd91d0a37c5fea5766900e1] | committer: Carl Eugen Hoyos

vp9/x86: fix overwrite in ipred_vl_4x4_ssse3.

Fixes track ticket 3717.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 385a3420d1da2f6812dda56750b41edd469c6079)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=98f33430a2a7ecb98fd91d0a37c5fea5766900e1
---

 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 3faf1c5..a6b5442 100644
--- a/libavcodec/x86/vp9intrapred.asm
+++ b/libavcodec/x86/vp9intrapred.asm
@@ -817,13 +817,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



More information about the ffmpeg-cvslog mailing list