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

This commit is contained in:
Ronald S. Bultje 2012-02-04 10:27:45 +01:00
parent 166f399377
commit 783487ae44

View 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