[vlc-commits] Vorbis: fix broken if/else cascade
Jean-Baptiste Kempf
git at videolan.org
Sun Jul 1 15:21:29 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 1 16:42:03 2012 +0200| [bbc7f57fdb2bc8d15cab8d39a23b4d6de250d335] | committer: Jean-Baptiste Kempf
Vorbis: fix broken if/else cascade
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bbc7f57fdb2bc8d15cab8d39a23b4d6de250d335
---
modules/demux/vorbis.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/vorbis.h b/modules/demux/vorbis.h
index 7d8e195..ebaedd9 100644
--- a/modules/demux/vorbis.h
+++ b/modules/demux/vorbis.h
@@ -153,9 +153,9 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
else IF_EXTRACT("ALBUM=", Album )
else IF_EXTRACT("TRACKNUMBER=", TrackNumber )
else if( !hasTrackTotal )
- IF_EXTRACT("TRACKTOTAL=", TrackTotal )
+ { IF_EXTRACT("TRACKTOTAL=", TrackTotal ) }
else if( !hasTrackTotal )
- IF_EXTRACT("TOTALTRACKS=", TrackTotal )
+ { IF_EXTRACT("TOTALTRACKS=", TrackTotal ) }
else IF_EXTRACT("ARTIST=", Artist )
else IF_EXTRACT("COPYRIGHT=", Copyright )
else IF_EXTRACT("ORGANIZATION=", Publisher )
More information about the vlc-commits
mailing list