]> git.sesse.net Git - ffmpeg/commitdiff
swscale: sign-extend integer function argument to qword on x86-64.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 4 Feb 2012 09:27:45 +0000 (10:27 +0100)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 8 Feb 2012 18:31:14 +0000 (10:31 -0800)
libswscale/x86/output.asm

index 8a72d55533deb9558b6c1d08c45e42ff5643a2bb..c8e60981bdfd1b8cc4838a3c9b6b978e406e6b8c 100644 (file)
@@ -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