[FFmpeg-devel] [PATCH] x86/dsputil: fix argument declaration in vector_clipf
James Almer
jamrial at gmail.com
Fri May 23 20:11:40 CEST 2014
Should fix fate failures in msvc x86_64
Signed-off-by: James Almer <jamrial at gmail.com>
---
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 8ebc9a0..5edf623 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
--
1.8.5.5
More information about the ffmpeg-devel
mailing list