]> git.sesse.net Git - vlc/commitdiff
Updates (probably) outdated comments in libvlc_InternalCreate (the commented behavior...
authorJulien 'Lta' BALLET <contact@lta.io>
Mon, 12 May 2014 18:14:49 +0000 (20:14 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Wed, 14 May 2014 16:45:30 +0000 (18:45 +0200)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
src/libvlc.c

index 21f9d4a1614cb576fb1ecc58bbb5ea53055ac79e..dd2f30ad88a2653cdc151a01679c8cd757171884 100644 (file)
 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" );