]> git.sesse.net Git - vlc/blobdiff - modules/codec/crystalhd.c
omxil: Skip padding with OMX.SEC.vc1.dec as well
[vlc] / modules / codec / crystalhd.c
index e48876ab190a0f5aa865c47866e8304811f99aff..3c838c4959840d678dc5369d4d9ad5d4c6abd7b8 100644 (file)
@@ -200,7 +200,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     };
     for( int i = 0; i < PATHS_NB; i++ )
     {
-        HINSTANCE p_bcm_dll = LoadLibrary( psz_paths[i] );
+        HINSTANCE p_bcm_dll = LoadLibraryA( psz_paths[i] );
         if( p_bcm_dll )
         {
             p_sys->p_bcm_dll = p_bcm_dll;
@@ -214,7 +214,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     }
 
 #define LOAD_SYM( a ) \
-    BC_FUNC( a )  = (void *)GetProcAddress( p_sys->p_bcm_dll, TEXT( #a ) ); \
+    BC_FUNC( a )  = (void *)GetProcAddress( p_sys->p_bcm_dll, ( #a ) ); \
     if( !BC_FUNC( a ) ) { \
         msg_Err( p_dec, "missing symbol " # a ); return VLC_EGENERIC; }