[vlc-devel] commit: Simplify ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat May 31 12:15:56 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat May 31 13:06:16 2008 +0300| [1814dd90cd47216f0d51d5cb84de3a4466080de5]
Simplify
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1814dd90cd47216f0d51d5cb84de3a4466080de5
---
src/control/core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/control/core.c b/src/control/core.c
index d7b220c..ed332e2 100644
--- a/src/control/core.c
+++ b/src/control/core.c
@@ -177,8 +177,8 @@ void libvlc_wait( libvlc_instance_t *p_i )
{
libvlc_int_t *p_libvlc = p_i->p_libvlc_int;
vlc_object_lock( p_libvlc );
- if( vlc_object_alive( p_libvlc ) )
- while( !vlc_object_wait( p_libvlc ) );
+ while( vlc_object_alive( p_libvlc ) )
+ vlc_object_wait( p_libvlc );
vlc_object_unlock( p_libvlc );
}
More information about the vlc-devel
mailing list