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

Ingo Brückl ib at wupperonline.de
Mon Jan 16 20:44:30 CET 2012


Benoît Thébaudeau wrote on Mon, 16 Jan 2012 13:28:38 +0100 (CET):

> +	stream_read(s,tag,4);
> +	len += (tag[0]<<21) | (tag[1]<<14) | (tag[2]<<7) | tag[3];
> +	demuxer->movi_end = stream_tell(s)-len;

There probably should be two other checks.

stream_tell(s)-len should not point before the beginning of the file, and
there should be an ID3 v4 tag with footer flag at this position.

Ingo


More information about the MPlayer-dev-eng mailing list