[vlc-commits] DirectX: fix GetProcAddress call with Unicode
Jean-Baptiste Kempf
git at videolan.org
Mon Jan 14 17:28:35 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 18:17:38 2013 +0100| [dca9fc538ff7040bbfbec5806a4cf3265e744074] | committer: Jean-Baptiste Kempf
DirectX: fix GetProcAddress call with Unicode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dca9fc538ff7040bbfbec5806a4cf3265e744074
---
modules/audio_output/directx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index b0c8dc7..efd9a50 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -1070,7 +1070,7 @@ static int ReloadDirectXDevices( vlc_object_t *p_this, char const *psz_name,
/* Get DirectSoundEnumerate */
HRESULT (WINAPI *OurDirectSoundEnumerate)(LPDSENUMCALLBACKW, LPVOID) =
- (void *)GetProcAddress( hdsound_dll, _T("DirectSoundEnumerateW") );
+ (void *)GetProcAddress( hdsound_dll, "DirectSoundEnumerateW" );
if( OurDirectSoundEnumerate != NULL )
{
OurDirectSoundEnumerate( DeviceEnumCallback, &list );
More information about the vlc-commits
mailing list