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