]> git.sesse.net Git - vlc/blobdiff - include/vlc_meta.h
Unexport vlc_object_waitpipe
[vlc] / include / vlc_meta.h
index 090c2ce6b21414ef060d4174eba296297f20d4a2..a2abee0bbdb1298370f0ecd939c8dee809ec5478 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#if !defined( __LIBVLC__ )
-  #error You are not libvlc or one of its plugins. You cannot include this file
-#endif
+#ifndef VLC_META_H
+#define VLC_META_H 1
 
-#ifndef _VLC_META_H
-#define _VLC_META_H 1
+/**
+ * \file
+ * This file defines functions and structures for stream meta-data in vlc
+ *
+ */
 
 #include <vlc_arrays.h>
 
@@ -115,7 +117,7 @@ static inline vlc_meta_t *vlc_meta_New( void )
 static inline void vlc_meta_Delete( vlc_meta_t *m )
 {
     int i;
-    for( i = 0; i < 0; i++ )
+    for( i = 0; i < VLC_META_TYPE_COUNT ; i++ )
         free( m->ppsz_meta[i] );
     vlc_dictionary_clear( &m->extra_tags );
     free( m );