[FFmpeg-cvslog] x86/dsputil: fix argument declaration in vector_clipf

James Almer git at videolan.org
Fri May 23 23:29:58 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri May 23 15:11:40 2014 -0300| [584327f22fbf964fa63aa5cf5893873962af5245] | committer: Michael Niedermayer

x86/dsputil: fix argument declaration in vector_clipf

Should fix fate failures in msvc x86_64

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/dsputil.asm |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/x86/dsputil.asm b/libavcodec/x86/dsputil.asm
index bba60e5..4804682 100644
--- a/libavcodec/x86/dsputil.asm
+++ b/libavcodec/x86/dsputil.asm
@@ -631,10 +631,10 @@ PUT_SIGNED_PIXELS_CLAMPED 3
 ;                     float min, float max, int len)
 ;-----------------------------------------------------
 INIT_XMM sse
-%if ARCH_X86_32
-cglobal vector_clipf, 5,5,6, dst, src, min, max, len
-%else
+%if UNIX64
 cglobal vector_clipf, 3,3,6, dst, src, len
+%else
+cglobal vector_clipf, 5,5,6, dst, src, min, max, len
 %endif
 %if WIN64
     SWAP 0, 2
@@ -645,7 +645,7 @@ cglobal vector_clipf, 3,3,6, dst, src, len
 %endif
     SPLATD  m0
     SPLATD  m1
-        shl lenq, 2
+        shl lend, 2
         add srcq, lenq
         add dstq, lenq
         neg lenq



More information about the ffmpeg-cvslog mailing list