]> git.sesse.net Git - vlc/commitdiff
Ogg: always show COMMENTS if possible
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 27 Jun 2012 00:03:34 +0000 (02:03 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 27 Jun 2012 00:03:34 +0000 (02:03 +0200)
modules/demux/vorbis.h

index 3230b8f28fa7b4051b605e00fe5751681cc0d734..7d8e195ce242e9be5230954fa71e1562e46d4b5a 100644 (file)
@@ -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=")))