Mercurial > mplayer.hg
changeset 497:f776e51e531c
added MulDiv -> should fix Acelp.net audio
author | arpi_esp |
---|---|
date | Tue, 17 Apr 2001 23:04:37 +0000 |
parents | 6811760f7729 |
children | 86c689b3e40e |
files | loader/win32.c |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/win32.c Tue Apr 17 23:03:45 2001 +0000 +++ b/loader/win32.c Tue Apr 17 23:04:37 2001 +0000 @@ -2354,6 +2354,20 @@ +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; +} + + @@ -2480,6 +2494,8 @@ FF(SetErrorMode, -1) FF(IsProcessorFeaturePresent, -1) FF(GetProcessAffinityMask, -1) +FF(InterlockedExchange, -1) +FF(MulDiv, -1) }; struct exports exp_msvcrt[]={