Commit 671876a5 authored by Luc Saillard's avatar Luc Saillard Committed by Rémi Denis-Courmont

Skip all id3tag in the demuxer, not just the first one.

Some audio file can contains severall id3tag. Apple use it to insert a
jpeg in an audio only stream to display an image. So just iterate others
all id3tag, and discard them.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit ab6aece328aa884cdfde44b0081d3d252db325e1)
parent 5dd01059
...@@ -162,8 +162,9 @@ demux_t *__demux_New( vlc_object_t *p_obj, input_thread_t *p_parent_input, ...@@ -162,8 +162,9 @@ demux_t *__demux_New( vlc_object_t *p_obj, input_thread_t *p_parent_input,
/* ID3/APE tags will mess-up demuxer probing so we skip it here. /* ID3/APE tags will mess-up demuxer probing so we skip it here.
* ID3/APE parsers will called later on in the demuxer to access the * ID3/APE parsers will called later on in the demuxer to access the
* skipped info. */ * skipped info. */
if( !SkipID3Tag( p_demux ) ) while (SkipID3Tag( p_demux ))
SkipAPETag( p_demux ); ;
SkipAPETag( p_demux );
p_demux->p_module = p_demux->p_module =
module_need( p_demux, "demux", psz_module, module_need( p_demux, "demux", psz_module,
......
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