[MPlayer-dev-eng] [PATCH] libmpdemux/demux_audio: Skip ID3v2.4 tags.

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Mon Jan 16 13:28:38 CET 2012


Hi Ingo, all,

> > > @@ -446,6 +448,17 @@ static int demux_audio_open(demuxer_t* d
> > >  	g = stream_read_char(s);
> > >  	demux_info_add(demuxer,"Genre",genres[g]);
> > >        }
> > > +      stream_seek(s,demuxer->movi_end-10);
> > > +      stream_read(s,hdr,4);
> >
> > I'd prefer reading into tag to better match the "TAG" check.
>
> OK, I'll do that.

Please find attached the new version using tag instead of hdr.

Best regards,
Benoît
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-demux-audio-skip-id3v2.4.patch
Type: text/x-patch
Size: 1585 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120116/28969d68/attachment.bin>


More information about the MPlayer-dev-eng mailing list