[vlc-commits] lib: fix logic inversion

Rémi Denis-Courmont git at videolan.org
Tue May 20 13:10:28 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 20 08:55:02 2014 +0800| [bccf8c001891160350f7173de11bc78641249b40] | committer: Rémi Denis-Courmont

lib: fix logic inversion

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

 lib/audio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/audio.c b/lib/audio.c
index 17939e2..b1e7bf9 100644
--- a/lib/audio.c
+++ b/lib/audio.c
@@ -268,7 +268,7 @@ void libvlc_audio_output_device_set( libvlc_media_player_t *mp,
     }
 
     audio_output_t *aout = GetAOut( mp );
-    if( aout != NULL )
+    if( aout == NULL )
         return;
 
     aout_DeviceSet( aout, devid );



More information about the vlc-commits mailing list