[vlc-devel] commit: Fix build. (Pierre d'Herbemont )

git version control git at videolan.org
Wed Jan 6 17:14:48 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Jan  6 17:14:54 2010 +0100| [14e4ff124a973716e8932eaddb2926da67b7ee90] | committer: Pierre d'Herbemont 

Fix build.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=14e4ff124a973716e8932eaddb2926da67b7ee90
---

 include/vlc_meta.h |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/include/vlc_meta.h b/include/vlc_meta.h
index d3b6f46..6fbb11c 100644
--- a/include/vlc_meta.h
+++ b/include/vlc_meta.h
@@ -53,11 +53,10 @@ typedef enum vlc_meta_type_t
 
 #define VLC_META_TYPE_COUNT 17
 
-typedef int vlc_meta_status_e;
-#deinf ITEM_PREPARSED       1
-#deinf ITEM_ARTURL_FETCHED  2
-#deinf ITEM_PREPARSED       4
-#deinf ITEM_PREPARSED       8
+#define ITEM_PREPARSED       1
+#define ITEM_ARTURL_FETCHED  2
+#define ITEM_PREPARSED       4
+#define ITEM_PREPARSED       8
 
 /**
  * Basic function to deal with meta
@@ -81,8 +80,8 @@ VLC_EXPORT(char **,      vlc_meta_CopyExtraNames, ( const vlc_meta_t *m ));
 
 VLC_EXPORT(void,         vlc_meta_Merge, ( vlc_meta_t *dst, const vlc_meta_t *src ));
 
-VLC_EXPORT(vlc_meta_status_e, vlc_meta_GetStatus, ( vlc_meta_t *m ));
-VLC_EXPORT(void,              vlc_meta_SetStatus, ( vlc_meta_t *m, vlc_meta_status_e status ));
+VLC_EXPORT(int,  vlc_meta_GetStatus, ( vlc_meta_t *m ));
+VLC_EXPORT(void, vlc_meta_SetStatus, ( vlc_meta_t *m, int status ));
 
 /**
  * Returns a localizes string describing the meta




More information about the vlc-devel mailing list