Commit afadabf0 authored by Julien 'Lta' BALLET's avatar Julien 'Lta' BALLET Committed by Felix Paul Kühne

Updates (probably) outdated comments in libvlc_InternalCreate (the commented...

Updates (probably) outdated comments in libvlc_InternalCreate (the commented behavior seems to have been moved to the calling function) in lib/core.c
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent b2c81de9
...@@ -84,16 +84,14 @@ ...@@ -84,16 +84,14 @@
static void GetFilenames ( libvlc_int_t *, unsigned, const char *const [] ); static void GetFilenames ( libvlc_int_t *, unsigned, const char *const [] );
/** /**
* Allocate a libvlc instance, initialize global data if needed * Allocate a blank libvlc instance, also setting the exit handler.
* It also initializes the threading system * Vlc's threading system must have been initialized first
*/ */
libvlc_int_t * libvlc_InternalCreate( void ) libvlc_int_t * libvlc_InternalCreate( void )
{ {
libvlc_int_t *p_libvlc; libvlc_int_t *p_libvlc;
libvlc_priv_t *priv; libvlc_priv_t *priv;
/* Now that the thread system is initialized, we don't have much, but
* at least we have variables */
/* Allocate a libvlc instance object */ /* Allocate a libvlc instance object */
p_libvlc = vlc_custom_create( (vlc_object_t *)NULL, sizeof (*priv), p_libvlc = vlc_custom_create( (vlc_object_t *)NULL, sizeof (*priv),
"libvlc" ); "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