summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-06-29 17:23:17 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-06-29 17:23:17 +0000
commit82a8d0f1148fa4c484ae7670c362265e22b17ccc (patch)
tree597904656464d5031c4fe7905b536736c82c96ca
parent565344e7e4025613b9bf6a342f8e2abbd0dea16f (diff)
Use add instead of lshift in mmxext vp8 idct
Originally committed as revision 23891 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/x86/vp8dsp.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/vp8dsp.asm b/libavcodec/x86/vp8dsp.asm
index e8e03325fb..37b127bb4c 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