# HG changeset patch # User reimar # Date 1282938519 0 # Node ID 0e720002f85399fdeed1f441332d331650092eb8 # Parent 68574c0269e40617b50cfb38b0864a8555276a6b 100l, we need to search for SetDllDirectoryA instead of SetDllDirectory diff -r 68574c0269e4 -r 0e720002f853 mplayer.c --- a/mplayer.c Fri Aug 27 16:28:53 2010 +0000 +++ b/mplayer.c Fri Aug 27 19:48:39 2010 +0000 @@ -2771,7 +2771,7 @@ BOOL WINAPI (*setDllDir)(LPCTSTR) = NULL; if (kernel32) { setDEP = GetProcAddress(kernel32, "SetProcessDEPPolicy"); - setDllDir = GetProcAddress(kernel32, "SetDllDirectory"); + setDllDir = GetProcAddress(kernel32, "SetDllDirectoryA"); } if (setDEP) setDEP(3); if (setDllDir) setDllDir("");