Commit 2fd49e5a authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

libvlc_log_clear: looks totally broken.

parent 40e09aa0
...@@ -144,10 +144,10 @@ void libvlc_log_clear( libvlc_log_t *p_log, libvlc_exception_t *p_e ) ...@@ -144,10 +144,10 @@ void libvlc_log_clear( libvlc_log_t *p_log, libvlc_exception_t *p_e )
{ {
if( p_log ) if( p_log )
{ {
vlc_spin_lock (&p_log->data.lock); /*vlc_spin_lock (&p_log->data.lock);*/
p_log->data.count = 0; p_log->data.count = 0;
/* FIXME: release items */ /* FIXME: release items */
vlc_spin_unlock (&p_log->data.lock); /*vlc_spin_unlock (&p_log->data.lock);*/
} }
else else
RAISEVOID("Invalid log object!"); RAISEVOID("Invalid log object!");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment