mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +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 */
|
||||
{
|
||||
int hand;
|
||||
@ -5117,7 +5120,6 @@ void* LookupExternal(const char* library, int ordinal)
|
||||
hand, func);
|
||||
return func;
|
||||
}
|
||||
#endif
|
||||
|
||||
no_dll:
|
||||
if(pos>150)return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user