[vlc-commits] Ogg: factorize switch for Metadata

Jean-Baptiste Kempf git at videolan.org
Thu Aug 9 10:21:02 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug  8 12:33:09 2012 +0200| [52acf910743de642a4044d8fd0b8b0b2dcd0ef00] | committer: Jean-Baptiste Kempf

Ogg: factorize switch for Metadata

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

 modules/demux/ogg.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 2bc1bca..f0b603a 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1587,14 +1587,10 @@ static void Ogg_ExtractMeta( demux_t *p_demux, vlc_fourcc_t i_codec, const uint8
     {
     /* 3 headers with the 2° one being the comments */
     case VLC_CODEC_VORBIS:
-        Ogg_ExtractXiphMeta( p_demux, p_headers, i_headers, 1+6 );
-        break;
     case VLC_CODEC_THEORA:
         Ogg_ExtractXiphMeta( p_demux, p_headers, i_headers, 1+6 );
         break;
     case VLC_CODEC_SPEEX:
-        Ogg_ExtractXiphMeta( p_demux, p_headers, i_headers, 0 );
-        break;
     case VLC_CODEC_OPUS:
         Ogg_ExtractXiphMeta( p_demux, p_headers, i_headers, 0 );
         break;



More information about the vlc-commits mailing list