[MPlayer-dev-eng] [PATCH] dct64_k7.c
Björn Sandell
biorn at dce.chalmers.se
Sun Jan 19 21:28:14 CET 2003
Hi,
Propolice catches an overflow in dct64_k7.c:
mplayer: stack overflow in function dct64_MMX_3dnowex
diff -u -r1.6 dct64_k7.c
--- dct64_k7.c 19 Nov 2002 23:35:51 -0000 1.6
+++ dct64_k7.c 19 Jan 2003 20:30:13 -0000
@@ -758,5 +758,5 @@
" femms\n\t"
:
:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
- :"memory","%ebx","%esi","%edi");
+ :"memory","%eax","%ebx","%ecx","%edx","%esi","%edi");
fixes it (reportedly) but I really suck at asm and I don't have an AMD so
please verify!
--
Björn Sandell DCE/DFS Sysadmin IT department
Chalmers University of Technology www.dce.chalmers.se
More information about the MPlayer-dev-eng
mailing list