mirror of https://github.com/mpv-player/mpv
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:
parent
a03232d72f
commit
23a33e55a4
|
@ -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(IsProcessorFeaturePresent, -1)
|
||||
FF(GetProcessAffinityMask, -1)
|
||||
FF(InterlockedExchange, -1)
|
||||
FF(MulDiv, -1)
|
||||
};
|
||||
|
||||
struct exports exp_msvcrt[]={
|
||||
|
|
Loading…
Reference in New Issue