mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Fix for truespeech dll, patch by <dimakar(at)yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9593 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cde570e129
commit
83ee572cff
@ -5089,7 +5089,10 @@ void* LookupExternal(const char* library, int ordinal)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LOADLIB_TRY_NATIVE
|
#ifndef LOADLIB_TRY_NATIVE
|
||||||
|
/* hack for truespeech */
|
||||||
|
if (!strcmp(library, "tsd32.dll"))
|
||||||
|
#endif
|
||||||
/* ok, this is a hack, and a big memory leak. should be fixed. - alex */
|
/* ok, this is a hack, and a big memory leak. should be fixed. - alex */
|
||||||
{
|
{
|
||||||
int hand;
|
int hand;
|
||||||
@ -5117,7 +5120,6 @@ void* LookupExternal(const char* library, int ordinal)
|
|||||||
hand, func);
|
hand, func);
|
||||||
return func;
|
return func;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
no_dll:
|
no_dll:
|
||||||
if(pos>150)return 0;
|
if(pos>150)return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user