[FFmpeg-cvslog] swscale: sign-extend integer function argument to qword on x86-64.

Ronald S. Bultje git at videolan.org
Thu Feb 9 01:46:11 CET 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Feb  4 10:27:45 2012 +0100| [783487ae44fa886ad85a4d501c42fe0a57437ae9] | committer: Ronald S. Bultje

swscale: sign-extend integer function argument to qword on x86-64.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=783487ae44fa886ad85a4d501c42fe0a57437ae9
---

 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 8a72d55..c8e6098 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



More information about the ffmpeg-cvslog mailing list