[vlc-commits] commit: libvlc headers: remove commas at end of enums ( Rafaël Carré )

git at videolan.org git at videolan.org
Wed Oct 20 16:01:55 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Oct 20 16:01:11 2010 +0200| [e3c90299e28248b08e4872953829ee41a70212be] | committer: Rafaël Carré 

libvlc headers: remove commas at end of enums

Fix a warning reported by gcc -ansi -pedantic

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

 include/vlc/libvlc_events.h       |    2 +-
 include/vlc/libvlc_media.h        |    4 ++--
 include/vlc/libvlc_media_player.h |    6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h
index 8046b5f..ec2f984 100644
--- a/include/vlc/libvlc_events.h
+++ b/include/vlc/libvlc_events.h
@@ -99,7 +99,7 @@ enum libvlc_event_e {
     libvlc_VlmMediaInstanceStatusPlaying,
     libvlc_VlmMediaInstanceStatusPause,
     libvlc_VlmMediaInstanceStatusEnd,
-    libvlc_VlmMediaInstanceStatusError,
+    libvlc_VlmMediaInstanceStatusError
 };
 
 /**
diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index b64ec7f..b9a114a 100644
--- a/include/vlc/libvlc_media.h
+++ b/include/vlc/libvlc_media.h
@@ -67,7 +67,7 @@ typedef enum libvlc_meta_t {
     libvlc_meta_Publisher,
     libvlc_meta_EncodedBy,
     libvlc_meta_ArtworkURL,
-    libvlc_meta_TrackID,
+    libvlc_meta_TrackID
     /* Add new meta types HERE */
 } libvlc_meta_t;
 
@@ -105,7 +105,7 @@ typedef enum libvlc_track_type_t
     libvlc_track_unknown   = -1,
     libvlc_track_audio     = 0,
     libvlc_track_video     = 1,
-    libvlc_track_text      = 2,
+    libvlc_track_text      = 2
 } libvlc_track_type_t;
 
 /** defgroup libvlc_media_stats_t LibVLC media statistics
diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index 105090e..1ca9bb4 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -104,7 +104,7 @@ typedef enum libvlc_navigate_mode_t
     libvlc_navigate_up,
     libvlc_navigate_down,
     libvlc_navigate_left,
-    libvlc_navigate_right,
+    libvlc_navigate_right
 } libvlc_navigate_mode_t;
 
 /**
@@ -962,7 +962,7 @@ enum libvlc_video_logo_option_t {
     libvlc_logo_delay,
     libvlc_logo_repeat,
     libvlc_logo_opacity,
-    libvlc_logo_position,
+    libvlc_logo_position
 };
 
 /**
@@ -1006,7 +1006,7 @@ enum libvlc_video_adjust_option_t {
     libvlc_adjust_Brightness,
     libvlc_adjust_Hue,
     libvlc_adjust_Saturation,
-    libvlc_adjust_Gamma,
+    libvlc_adjust_Gamma
 };
 
 /**



More information about the vlc-commits mailing list