[vlc-commits] Vorbis: code cosmetics

Jean-Baptiste Kempf git at videolan.org
Wed Oct 24 19:09:52 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 24 12:59:30 2012 +0200| [b903153aeabe8357f2e8417de4547754a2ad909c] | committer: Jean-Baptiste Kempf

Vorbis: code cosmetics

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

 modules/demux/vorbis.h |   22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/modules/demux/vorbis.h b/modules/demux/vorbis.h
index 0b33773..a643048 100644
--- a/modules/demux/vorbis.h
+++ b/modules/demux/vorbis.h
@@ -76,6 +76,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
     int n;
     int i_comment;
     int i_attach = 0;
+
     if( i_data < 8 )
         return;
 
@@ -106,16 +107,17 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
     if( !p_meta )
         return;
 
-    bool hasTitle = false;
-    bool hasAlbum = false;
-    bool hasTrackNumber = false;
-    bool hasTrackTotal = false;
-    bool hasArtist = false;
-    bool hasCopyright = false;
-    bool hasDescription = false;
-    bool hasGenre = false;
-    bool hasDate = false;
-    bool hasPublisher = false;
+    /* */
+    bool hasTitle        = false;
+    bool hasAlbum        = false;
+    bool hasTrackNumber  = false;
+    bool hasTrackTotal   = false;
+    bool hasArtist       = false;
+    bool hasCopyright    = false;
+    bool hasDescription  = false;
+    bool hasGenre        = false;
+    bool hasDate         = false;
+    bool hasPublisher    = false;
 
     for( ; i_comment > 0; i_comment-- )
     {



More information about the vlc-commits mailing list