[FFmpeg-devel] [PATCH] x86/scale: fix xmm register count for hscale*_sse2
James Almer
jamrial at gmail.com
Mon Jun 9 03:21:30 CEST 2014
xmm6 was being clobbered in ff_hscale8to{15,19}_8_sse2 on Win64
Signed-off-by: James Almer <jamrial at gmail.com>
---
libswscale/x86/scale.asm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswscale/x86/scale.asm b/libswscale/x86/scale.asm
index 940f357..7af92f7 100644
--- a/libswscale/x86/scale.asm
+++ b/libswscale/x86/scale.asm
@@ -424,7 +424,7 @@ INIT_MMX mmx
SCALE_FUNCS2 0, 0, 0
%endif
INIT_XMM sse2
-SCALE_FUNCS2 6, 7, 8
+SCALE_FUNCS2 7, 6, 8
INIT_XMM ssse3
SCALE_FUNCS2 6, 6, 8
INIT_XMM sse4
--
1.8.5.5
More information about the ffmpeg-devel
mailing list