x86/dsputil: fix argument declaration in vector_clipf

Should fix fate failures in msvc x86_64

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/72/head
James Almer 11 years ago committed by Michael Niedermayer
parent 518cbf9b4a
commit 584327f22f
  1. 8
      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

Loading…
Cancel
Save