From 82a8d0f1148fa4c484ae7670c362265e22b17ccc Mon Sep 17 00:00:00 2001
From: Jason Garrett-Glaser <darkshikari@gmail.com>
Date: Tue, 29 Jun 2010 17:23:17 +0000
Subject: [PATCH] Use add instead of lshift in mmxext vp8 idct

Originally committed as revision 23891 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/x86/vp8dsp.asm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/x86/vp8dsp.asm b/libavcodec/x86/vp8dsp.asm
index e8e03325fbb..37b127bb4c4 100644
--- a/libavcodec/x86/vp8dsp.asm
+++ b/libavcodec/x86/vp8dsp.asm
@@ -939,8 +939,8 @@ cglobal vp8_idct_dc_add_sse4, 3, 3, 6
     pmulhw    %4, m6 ;20091(2)
     paddw     %3, %1
     paddw     %4, %2
-    psllw     %1, 1
-    psllw     %2, 1
+    paddw     %1, %1
+    paddw     %2, %2
     pmulhw    %1, m7 ;35468(1)
     pmulhw    %2, m7 ;35468(2)
     psubw     %1, %4
-- 
GitLab