Commit 78e2acb7 authored by Damien Fouilleul's avatar Damien Fouilleul

- libvlc: make sure that p_static_libvlc always point to the first libvlc...

- libvlc: make sure that p_static_libvlc always point to the first libvlc instance (actually, is it still used ?)
parent 2662e59f
......@@ -217,7 +217,8 @@ libvlc_int_t * libvlc_InternalCreate( void )
/* Fake attachment */
p_libvlc->b_attached = VLC_TRUE;
/* Store data for the non-reentrant API */
p_static_vlc = p_libvlc;
if( !p_static_vlc )
p_static_vlc = p_libvlc;
return p_libvlc;
}
......
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