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:
rtognimp 2003-03-15 15:46:32 +00:00
parent cde570e129
commit 83ee572cff
1 changed files with 4 additions and 2 deletions

View File

@ -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;