Commit 8fe54e49 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

stats: Don't crash if there is no timer to dump.

parent b19b539f
...@@ -376,7 +376,7 @@ void __stats_TimerDump( vlc_object_t *p_obj, unsigned int i_id ) ...@@ -376,7 +376,7 @@ void __stats_TimerDump( vlc_object_t *p_obj, unsigned int i_id )
break; break;
} }
} }
TimerDump( p_obj, p_counter, true ); if( p_counter ) TimerDump( p_obj, p_counter, true );
vlc_mutex_unlock( &priv->timer_lock ); vlc_mutex_unlock( &priv->timer_lock );
} }
......
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