added MulDiv -> should fix Acelp.net audio

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@498 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-04-17 23:04:37 +00:00
parent a03232d72f
commit 23a33e55a4
1 changed files with 16 additions and 0 deletions

View File

@ -2354,6 +2354,20 @@ WIN_BOOL
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(GetWindowsDirectoryA,-1)
FF(SetErrorMode, -1) FF(SetErrorMode, -1)
FF(IsProcessorFeaturePresent, -1) FF(IsProcessorFeaturePresent, -1)
FF(GetProcessAffinityMask, -1) FF(GetProcessAffinityMask, -1)
FF(InterlockedExchange, -1)
FF(MulDiv, -1)
}; };
struct exports exp_msvcrt[]={ struct exports exp_msvcrt[]={