From 83ee572cffff0b324b1664fc7de0402b01758500 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Sat, 15 Mar 2003 15:46:32 +0000 Subject: [PATCH] Fix for truespeech dll, patch by git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9593 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/win32.c | 6 ++++-- 1 file 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;