#include <vlc_plugin.h>
#include <vlc_aout.h>
-#include <SDL/SDL.h>
+#include <SDL.h>
#define FRAME_SIZE 2048
return VLC_EGENERIC;
}
-#ifndef WIN32
- /* Win32 SDL implementation doesn't support SDL_INIT_EVENTTHREAD yet */
i_flags |= SDL_INIT_EVENTTHREAD;
-#endif
#ifndef NDEBUG
/* In debug mode you may want vlc to dump a core instead of staying
* stuck */
return VLC_EGENERIC;
}
- if( var_Get( p_aout, "audio-device" ) != VLC_ENOVAR )
+ if( var_Get( p_aout, "audio-device", &val ) != VLC_ENOVAR )
{
/* The user has selected an audio device. */
if ( val.i_int == AOUT_VAR_STEREO )