]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/sdl.c
aout_sdl: fix compilation.
[vlc] / modules / audio_output / sdl.c
index f6266a981e22a2ce441b413a597eaa8c5c24a58b..070e2f6a27c3f2da37159ec10fa0574c462244c3 100644 (file)
@@ -108,7 +108,7 @@ static int Open ( vlc_object_t *p_this )
         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 )