media_instance: Fix a typo.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 28 Mar 2008 21:53:16 +0000 (22:53 +0100)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 28 Mar 2008 21:53:44 +0000 (22:53 +0100)
src/control/media_instance.c

index 88c7dae..73c9b7e 100644 (file)
@@ -573,8 +573,8 @@ void libvlc_media_instance_play( libvlc_media_instance_t *p_mi,
 
     if( !p_mi->p_input_thread )
     {
-        return;
         vlc_mutex_unlock( &p_mi->object_lock );
+        return;
     }
 
     p_input_thread = p_mi->p_input_thread;