Commit 30a39592 authored by Gildas Bazin's avatar Gildas Bazin

* modules/codec/dmo/dmo.c: portability fix.

parent bf0e0e61
...@@ -519,6 +519,11 @@ static int LoadDMO( vlc_object_t *p_this, HINSTANCE *p_hmsdmo_dll, ...@@ -519,6 +519,11 @@ static int LoadDMO( vlc_object_t *p_this, HINSTANCE *p_hmsdmo_dll,
int i_err; int i_err;
#ifndef LOADER #ifndef LOADER
long (STDCALL *OurDMOEnum)( const GUID *, uint32_t, uint32_t,
const DMO_PARTIAL_MEDIATYPE *,
uint32_t, const DMO_PARTIAL_MEDIATYPE *,
IEnumDMO ** );
IEnumDMO *p_enum_dmo = NULL; IEnumDMO *p_enum_dmo = NULL;
WCHAR *psz_dmo_name; WCHAR *psz_dmo_name;
GUID clsid_dmo; GUID clsid_dmo;
...@@ -549,11 +554,6 @@ static int LoadDMO( vlc_object_t *p_this, HINSTANCE *p_hmsdmo_dll, ...@@ -549,11 +554,6 @@ static int LoadDMO( vlc_object_t *p_this, HINSTANCE *p_hmsdmo_dll,
} }
#ifndef LOADER #ifndef LOADER
long (STDCALL *OurDMOEnum)( const GUID *, uint32_t, uint32_t,
const DMO_PARTIAL_MEDIATYPE *,
uint32_t, const DMO_PARTIAL_MEDIATYPE *,
IEnumDMO ** );
/* Load msdmo DLL */ /* Load msdmo DLL */
*p_hmsdmo_dll = LoadLibrary( "msdmo.dll" ); *p_hmsdmo_dll = LoadLibrary( "msdmo.dll" );
if( *p_hmsdmo_dll == NULL ) if( *p_hmsdmo_dll == NULL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment