[FFmpeg-cvslog] x86/scale: fix xmm register count for hscale*_sse2

James Almer git at videolan.org
Tue Jul 15 02:20:02 CEST 2014


ffmpeg | branch: release/2.2 | James Almer <jamrial at gmail.com> | Sun Jun  8 22:21:30 2014 -0300| [0edc79962641dd853cda187ee13b617701346061] | committer: Michael Niedermayer

x86/scale: fix xmm register count for hscale*_sse2

xmm6 was being clobbered in ff_hscale8to{15,19}_8_sse2 on Win64

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 345f2234d1717d6128b2f90a7839c4906bf203ec)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 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



More information about the ffmpeg-cvslog mailing list