Commit 16e823e7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

RealAudio: fix compile for Win32

parent 0f65c7cd
......@@ -73,7 +73,9 @@ vlc_module_end ()
* Local prototypes
*****************************************************************************/
static int OpenDll( decoder_t * );
#ifndef WIN32
static int OpenNativeDll( decoder_t *, char *, char * );
#endif
static int OpenWin32Dll( decoder_t *, char *, char * );
static void CloseDll( decoder_t * );
......@@ -390,6 +392,7 @@ static int OpenDll( decoder_t *p_dec )
return VLC_EGENERIC;
}
#ifndef WIN32
static int OpenNativeDll( decoder_t *p_dec, char *psz_path, char *psz_dll )
{
#if defined(HAVE_DL_DLOPEN)
......@@ -490,10 +493,15 @@ static int OpenNativeDll( decoder_t *p_dec, char *psz_path, char *psz_dll )
if( context ) p_sys->raFreeDecoder( context );
if( context ) p_sys->raCloseCodec( context );
dlclose( handle );
#else
VLC_UNUSED( p_dec );
VLC_UNUSED( psz_path);
VLC_UNUSED( psz_dll );
#endif
return VLC_EGENERIC;
}
#endif /* Win32 */
static int OpenWin32Dll( decoder_t *p_dec, char *psz_path, char *psz_dll )
{
......
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