diff options
author | James Almer <jamrial@gmail.com> | 2014-05-23 22:11:40 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-24 01:10:17 +0400 |
commit | 584327f22fbf964fa63aa5cf5893873962af5245 (patch) | |
tree | f020b0a078d8261a926f0602bca648360e125b74 /libavcodec/x86 | |
parent | 518cbf9b4a0a5d17e61fa9ee71330c02bd339f32 (diff) |
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>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/dsputil.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/dsputil.asm b/libavcodec/x86/dsputil.asm index bba60e5364..4804682fb7 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 |