[Mplayer-cvslog] CVS: main/loader win32.c,1.95,1.96

Roberto Togni CVS syncmail at mplayerhq.hu
Sun Oct 24 23:56:53 CEST 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/loader
In directory mail:/var2/tmp/cvs-serv14351

Modified Files:
	win32.c 
Log Message:
Support wmspdmod.dll version 10.0.0.3646


Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- win32.c	24 Oct 2004 19:18:26 -0000	1.95
+++ win32.c	24 Oct 2004 21:56:51 -0000	1.96
@@ -4705,6 +4705,25 @@
     return floor(x);
 }
 
+#define FPU_DOUBLE(var) double var; \
+  __asm__ __volatile__( "fstpl %0;fwait" : "=m" (var) : )
+
+static double exp_CIcos(void)
+{
+    FPU_DOUBLE(x);
+
+    dbgprintf("_CIcos(%lf)\n", x);
+    return cos(x);
+}
+
+static double exp_CIsin(void)
+{
+    FPU_DOUBLE(x);
+
+    dbgprintf("_CIsin(%lf)\n", x);
+    return sin(x);
+}
+
 struct exports
 {
     char name[64];
@@ -4914,6 +4933,8 @@
     FF(cos, -1)
     FF(_ftol,-1)
     FF(_CIpow,-1)
+    FF(_CIcos,-1)
+    FF(_CIsin,-1)
     FF(ldexp,-1)
     FF(frexp,-1)
     FF(sprintf,-1)




More information about the MPlayer-cvslog mailing list