[Mplayer-cvslog] CVS: main/loader win32.c,1.8,1.9

GEREOFFY arpi_esp at users.sourceforge.net
Wed Apr 18 01:04:39 CEST 2001


Update of /cvsroot/mplayer/main/loader
In directory usw-pr-cvs1:/tmp/cvs-serv28671

Modified Files:
	win32.c 
Log Message:
added MulDiv -> should fix Acelp.net audio

Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** win32.c	2001/04/11 02:10:47	1.8
--- win32.c	2001/04/17 23:04:37	1.9
***************
*** 2351,2354 ****
--- 2351,2368 ----
  
  
+ LONG WINAPI expInterlockedExchange(long *dest, long l)
+ {
+ 	long retval;
+ 	retval = *dest;
+ 	*dest = l;
+ 	return retval;
+ }
+ 
+ INT WINAPI expMulDiv(int nNumber,int nNumerator,int nDenominator)
+ {
+ 	return ((long long)nNumber * (long long)nNumerator) / nDenominator;
+ }
+ 
+ 
  
  
***************
*** 2477,2480 ****
--- 2491,2496 ----
  FF(IsProcessorFeaturePresent, -1)
  FF(GetProcessAffinityMask, -1)
+ FF(InterlockedExchange, -1)
+ FF(MulDiv, -1)
  };
  


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list