[vlc-commits] Ogg: always show COMMENTS if possible

Jean-Baptiste Kempf git at videolan.org
Wed Jun 27 00:04:39 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 27 02:03:34 2012 +0200| [b823a02180ad2d7375d2c556314e031091f2c81f] | committer: Jean-Baptiste Kempf

Ogg: always show COMMENTS if possible

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

 modules/demux/vorbis.h |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/demux/vorbis.h b/modules/demux/vorbis.h
index 3230b8f..7d8e195 100644
--- a/modules/demux/vorbis.h
+++ b/modules/demux/vorbis.h
@@ -160,10 +160,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
         else IF_EXTRACT("COPYRIGHT=", Copyright )
         else IF_EXTRACT("ORGANIZATION=", Publisher )
         else IF_EXTRACT("DESCRIPTION=", Description )
-        else if( !hasDescription )
-        {
-            IF_EXTRACT("COMMENTS=", Description )
-        }
+        else IF_EXTRACT("COMMENTS=", Description )
         else IF_EXTRACT("GENRE=", Genre )
         else IF_EXTRACT("DATE=", Date )
         else if( !strncasecmp( psz_comment, "METADATA_BLOCK_PICTURE=", strlen("METADATA_BLOCK_PICTURE=")))



More information about the vlc-commits mailing list