From: Julien 'Lta' BALLET Date: Mon, 12 May 2014 18:14:49 +0000 (+0200) Subject: Updates (probably) outdated comments in libvlc_InternalCreate (the commented behavior... X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=afadabf0383c437f8b2d7b2f784b4c801c2c834d;p=vlc 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: Felix Paul Kühne --- diff --git a/src/libvlc.c b/src/libvlc.c index 21f9d4a161..dd2f30ad88 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -84,16 +84,14 @@ static void GetFilenames ( libvlc_int_t *, unsigned, const char *const [] ); /** - * Allocate a libvlc instance, initialize global data if needed - * It also initializes the threading system + * Allocate a blank libvlc instance, also setting the exit handler. + * Vlc's threading system must have been initialized first */ libvlc_int_t * libvlc_InternalCreate( void ) { libvlc_int_t *p_libvlc; 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 */ p_libvlc = vlc_custom_create( (vlc_object_t *)NULL, sizeof (*priv), "libvlc" );