[Mplayer-cvslog] CVS: main/loader win32.c,1.93,1.94

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Oct 23 17:47:11 CEST 2004


CVS change done by Roberto Togni CVS

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

Modified Files:
	win32.c 
Log Message:
Fix for Windows media audio 9 voice codec (format 0x0a)
Tested with dll version 9.0.0.2926


Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- win32.c	9 Oct 2004 22:14:36 -0000	1.93
+++ win32.c	23 Oct 2004 15:47:08 -0000	1.94
@@ -4315,10 +4315,15 @@
 	);
 }
 
-#warning check for _CIpow
-static double exp_CIpow(double x, double y)
+#define FPU_DOUBLES(var1,var2) double var1,var2; \
+  __asm__ __volatile__( "fstpl %0;fwait" : "=m" (var2) : ); \
+  __asm__ __volatile__( "fstpl %0;fwait" : "=m" (var1) : )
+
+static double exp_CIpow(void)
 {
-    /*printf("Pow %f  %f    0x%Lx  0x%Lx  => %f\n", x, y, *((int64_t*)&x), *((int64_t*)&y), pow(x, y));*/
+    FPU_DOUBLES(x,y);
+
+    dbgprintf("_CIpow(%lf, %lf)\n", x, y);
     return pow(x, y);
 }
 




More information about the MPlayer-cvslog mailing list