1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00

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: Rémi Denis-Courmont <remi@remlab.net>
This commit is contained in:
Luc Saillard 2011-07-18 10:29:19 +02:00 committed by Rémi Denis-Courmont
parent bd90ac8411
commit ab6aece328

View File

@ -181,8 +181,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 parsers will called later on in the demuxer to access the
* skipped info. */
if( !SkipID3Tag( p_demux ) )
SkipAPETag( p_demux );
while (SkipID3Tag( p_demux ))
;
SkipAPETag( p_demux );
p_demux->p_module =
module_need( p_demux, "demux", psz_module,