[MPlayer-dev-eng] [PATCH] libmpdemux/demux_audio: Skip ID3v2.4 tags.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Fri Feb 3 19:19:02 CET 2012
On Fri, Jan 27, 2012 at 02:06:31PM +0100, Benoît Thébaudeau wrote:
> diff -Nrdup mplayer.orig/libmpdemux/demux_audio.c mplayer/libmpdemux/demux_audio.c
> --- mplayer.orig/libmpdemux/demux_audio.c 2012-01-27 13:42:31.522983827 +0100
> +++ mplayer/libmpdemux/demux_audio.c 2012-01-27 13:55:08.946980169 +0100
> @@ -441,12 +441,12 @@ static int demux_audio_open(demuxer_t* d
> free(mp3_found);
> mp3_found = NULL;
> if(s->end_pos && (s->flags & MP_STREAM_SEEK) == MP_STREAM_SEEK) {
> - stream_seek(s,s->end_pos-128);
> + stream_seek(s,demuxer->movi_end-128);
Semantics-wise, it doesn't really make sense to check
for s->end_pos but then use demuxer->movi_end.
Also I realize that it would probably make sense to check
for it >/>= 128.
More information about the MPlayer-dev-eng
mailing list