[vlc-commits] Win32: Fix DMO compilation behaviour 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:21:54 2013 +0100| [265ee192682296023135518531215ebfa10f5d4e] | committer: Jean-Baptiste Kempf

Win32: Fix DMO compilation behaviour with UNICODE

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=265ee192682296023135518531215ebfa10f5d4e
---

 modules/codec/dmo/dmo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/dmo/dmo.c b/modules/codec/dmo/dmo.c
index b95874f..f87198c 100644
--- a/modules/codec/dmo/dmo.c
+++ b/modules/codec/dmo/dmo.c
@@ -714,7 +714,7 @@ static int LoadDMO( vlc_object_t *p_this, HINSTANCE *p_hmsdmo_dll,
 
 #ifndef LOADER
     /* Load msdmo DLL */
-    *p_hmsdmo_dll = LoadLibrary( "msdmo.dll" );
+    *p_hmsdmo_dll = LoadLibraryA( "msdmo.dll" );
     if( *p_hmsdmo_dll == NULL )
     {
         msg_Dbg( p_this, "failed loading msdmo.dll" );
@@ -793,7 +793,7 @@ loader:
     if( codecs_table[i_codec].i_fourcc == 0 )
         return VLC_EGENERIC;    /* Can't happen */
 
-    *p_hmsdmo_dll = LoadLibrary( codecs_table[i_codec].psz_dll );
+    *p_hmsdmo_dll = LoadLibraryA( codecs_table[i_codec].psz_dll );
     if( *p_hmsdmo_dll == NULL )
     {
         msg_Dbg( p_this, "failed loading '%s'",



More information about the vlc-commits mailing list