[MPlayer-dev-eng] [PATCH] http streaming issues

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jul 11 19:26:40 CEST 2008


Hello,
On Wed, Jun 25, 2008 at 09:23:57AM +0300, Alexander Kanavin wrote:
> diff -uNr MPlayer-r27054.orig/libmpdemux/demux_audio.c MPlayer-r27054/libmpdemux/demux_audio.c
> --- MPlayer-r27054.orig/libmpdemux/demux_audio.c	2008-05-21 19:07:37.000000000 +0300
> +++ MPlayer-r27054/libmpdemux/demux_audio.c	2008-06-23 15:04:54.000000000 +0300
> @@ -329,7 +329,7 @@
>      sh_audio->i_bps = sh_audio->wf->nAvgBytesPerSec;
>      free(mp3_found);
>      mp3_found = NULL;
> -    if(s->end_pos) {
> +    if(s->end_pos && (s->flags & STREAM_SEEK)) {
>        char tag[4];
>        stream_seek(s,s->end_pos-128);
>        stream_read(s,tag,3);

Not completely correct. Fixed in SVN r27250, also for demux_lavf.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list