summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-15 15:46:32 +0000
committerrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-15 15:46:32 +0000
commit83ee572cffff0b324b1664fc7de0402b01758500 (patch)
tree441aaa4fd20286e3607349eb0e09dac1d9c80bbe /loader
parentcde570e129e1d7e3d7b994b9c90be2b8b7c0d303 (diff)
downloadmpv-83ee572cffff0b324b1664fc7de0402b01758500.tar.bz2
mpv-83ee572cffff0b324b1664fc7de0402b01758500.tar.xz
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
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/loader/win32.c b/loader/win32.c
index a32fdf26d3..d36f1635f2 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -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;