[vlc-commits] Updates (probably) outdated comments in libvlc_InternalCreate ( the commented behavior seems to have been moved to the calling function) in lib/core.c
Julien 'Lta' BALLET
git at videolan.org
Wed May 14 18:45:43 CEST 2014
vlc | branch: master | Julien 'Lta' BALLET <contact at lta.io> | Mon May 12 20:14:49 2014 +0200| [afadabf0383c437f8b2d7b2f784b4c801c2c834d] | committer: Felix Paul Kühne
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 <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=afadabf0383c437f8b2d7b2f784b4c801c2c834d
---
src/libvlc.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 21f9d4a..dd2f30a 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" );
More information about the vlc-commits
mailing list