diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-04 13:27:45 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-08 22:31:14 +0400 |
commit | 783487ae44fa886ad85a4d501c42fe0a57437ae9 (patch) | |
tree | a709d97809af9a6e8d6043b96fe21396898f965c /libswscale/x86/output.asm | |
parent | 166f3993776f1713069d6518026da8b48579f633 (diff) |
swscale: sign-extend integer function argument to qword on x86-64.
Diffstat (limited to 'libswscale/x86/output.asm')
-rw-r--r-- | libswscale/x86/output.asm | 1 |
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 |