[vlc-devel] commit: aout_sdl: fix compilation. ( Rémi Duraffort )

git version control git at videolan.org
Sat Oct 10 12:13:36 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Oct 10 12:13:56 2009 +0200| [b4730f28df90d52bf4fbae63f4a00fe0279463e6] | committer: Rémi Duraffort 

aout_sdl: fix compilation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b4730f28df90d52bf4fbae63f4a00fe0279463e6
---

 modules/audio_output/sdl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/sdl.c b/modules/audio_output/sdl.c
index f6266a9..070e2f6 100644
--- a/modules/audio_output/sdl.c
+++ b/modules/audio_output/sdl.c
@@ -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 )




More information about the vlc-devel mailing list