]> git.sesse.net Git - vlc/commitdiff
control/media_instance.c: Fix a warning on missing parenthesis in a if statement.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 10 Jul 2007 18:58:28 +0000 (18:58 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 10 Jul 2007 18:58:28 +0000 (18:58 +0000)
src/control/media_instance.c

index d6ac34bba2e2f1b8c142e06b76494af3f96fe15d..721350b087bc386e7a91c77797019d1e8e2eb9f9 100644 (file)
@@ -310,7 +310,7 @@ void libvlc_media_instance_play( libvlc_media_instance_t *p_mi,
 
     vlc_mutex_lock( &p_mi->object_lock );
 
-    if( p_input_thread = libvlc_get_input_thread( p_mi, p_e ) ) 
+    if( (p_input_thread = libvlc_get_input_thread( p_mi, p_e )) ) 
     {
         /* A thread alread exists, send it a play message */        
         vlc_value_t val;