]> git.sesse.net Git - vlc/blobdiff - src/libvlc-common.c
Privatize the stats computer
[vlc] / src / libvlc-common.c
index 7be719c8a7ade453df102ebc2b31dff23fd27e29..145268e40afb88eed29c3cbd8faaa341f5096086 100644 (file)
@@ -722,7 +722,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         return VLC_ENOMEM;
     }
     vlc_mutex_init( &p_libvlc->p_stats->lock );
-    p_libvlc->p_stats_computer = NULL;
+    priv->p_stats_computer = NULL;
 
     /* Init the array that holds every input item */
     ARRAY_INIT( p_libvlc->input_items );