]> git.sesse.net Git - vlc/commitdiff
aout_sdl: fix compilation.
authorRémi Duraffort <ivoire@videolan.org>
Sat, 10 Oct 2009 10:13:56 +0000 (12:13 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 10 Oct 2009 10:13:56 +0000 (12:13 +0200)
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 )