aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/diracdsp_yasm.asm
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 23:26:33 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-14 23:28:01 +0100
commit9cb3c1a4d9dbf28d032f5af8fde85993f8148a54 (patch)
tree0c5e962b7a7e7e71845fc0e63354d1a310c68f84 /libavcodec/x86/diracdsp_yasm.asm
parent30981a966f175b424fe94ef04f56c1e9bebe47dd (diff)
downloadffmpeg-9cb3c1a4d9dbf28d032f5af8fde85993f8148a54.tar.gz
x86/dirac: fix asm on win64
This could also be fixed by changing the argument type if someone prefers that and wants to change it ... Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/diracdsp_yasm.asm')
-rw-r--r--libavcodec/x86/diracdsp_yasm.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/diracdsp_yasm.asm b/libavcodec/x86/diracdsp_yasm.asm
index d12fc64dd5..3e9765b42d 100644
--- a/libavcodec/x86/diracdsp_yasm.asm
+++ b/libavcodec/x86/diracdsp_yasm.asm
@@ -136,6 +136,8 @@ cglobal put_signed_rect_clamped_%1, 5,9,3, dst, dst_stride, src, src_stride, w,
and wd, ~(mmsize-1)
%if ARCH_X86_64
+ movsxd dst_strideq, dst_strided
+ movsxd src_strideq, src_strided
mov r7d, r5m
mov r8d, wd
%define wspill r8d
@@ -177,6 +179,8 @@ cglobal add_rect_clamped_%1, 7,9,3, dst, src, stride, idwt, idwt_stride, w, h
and wd, ~(mmsize-1)
%if ARCH_X86_64
+ movsxd strideq, strided
+ movsxd idwt_strideq, idwt_strided
mov r8d, wd
%define wspill r8d
%else