Commit af1c0e0a authored by Clément Stenac's avatar Clément Stenac

Gah, forgot to commit this: fix a potential crash in stats

parent a6f5ad1f
...@@ -1119,7 +1119,7 @@ static void End( input_thread_t * p_input ) ...@@ -1119,7 +1119,7 @@ static void End( input_thread_t * p_input )
if( p_input->p_es_out ) if( p_input->p_es_out )
input_EsOutDelete( p_input->p_es_out ); input_EsOutDelete( p_input->p_es_out );
#define CL_CO( c ) stats_CounterClean( p_input->counters.p_##c ) #define CL_CO( c ) stats_CounterClean( p_input->counters.p_##c ); p_input->counters.p_##c = NULL;
if( p_input->p_libvlc->b_stats ) if( p_input->p_libvlc->b_stats )
{ {
vlc_mutex_lock( &p_input->counters.counters_lock ); vlc_mutex_lock( &p_input->counters.counters_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