[vlc-commits] Ogg: factorize switch for Metadata

Jean-Baptiste Kempf git at videolan.org
Tue Sep 4 00:04:09 CEST 2012


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

Ogg: factorize switch for Metadata
(cherry picked from commit 52acf910743de642a4044d8fd0b8b0b2dcd0ef00)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index d4f4c97..78b3a89 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1586,14 +1586,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