Commit 004f1446 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Ogg: factorize switch for Metadata

(cherry picked from commit 52acf910743de642a4044d8fd0b8b0b2dcd0ef00)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9fd30bf5
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment