aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-04 10:27:45 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-08 10:31:14 -0800
commit783487ae44fa886ad85a4d501c42fe0a57437ae9 (patch)
treea709d97809af9a6e8d6043b96fe21396898f965c
parent166f3993776f1713069d6518026da8b48579f633 (diff)
downloadffmpeg-783487ae44fa886ad85a4d501c42fe0a57437ae9.tar.gz
swscale: sign-extend integer function argument to qword on x86-64.
-rw-r--r--libswscale/x86/output.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/x86/output.asm b/libswscale/x86/output.asm
index 8a72d55533..c8e60981bd 100644
--- a/libswscale/x86/output.asm
+++ b/libswscale/x86/output.asm
@@ -317,6 +317,7 @@ yuv2planeX_fn 10, 7, 5
%macro yuv2plane1_fn 3
cglobal yuv2plane1_%1, %3, %3, %2, src, dst, dstw, dither, offset
+ movsxdifnidn dstwq, dstwd
add dstwq, mmsize - 1
and dstwq, ~(mmsize - 1)
%if %1 == 8