[MPlayer-cvslog] r37309 - trunk/stream/stream.h

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Dec 6 12:21:27 CET 2014


On Sat, Dec 06, 2014 at 02:13:48AM +0200, Ivan Kalvachev wrote:
> On 12/3/14, Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> >> > Please revert.
> >>
> >> Reverting it breaks auto-detection with non-seekable inputs, thus is not a
> >> real solution either.
> >
> > Does the below work? It looks to me like it should be correct, and the pos=0
> > assignment
> > is from a very early revision, so there's no indication it is actually
> > required
> > for anything from the logs.
> >
> > --- a/stream/stream.c
> > +++ b/stream/stream.c
> > @@ -482,7 +482,6 @@ while(stream_fill_buffer(s) > 0 && pos >= 0) {
> >
> >  void stream_reset(stream_t *s){
> >    if(s->eof){
> > -    s->pos=0;
> >      s->buf_pos=s->buf_len=0;
> >      s->eof=0;
> >    }
> 
> Sorry I missed your patch.
> I just tested it and it seems to work.
> 
> Feel free to commit it. If I encounter problem I'll tell you right away.

Committed, thanks.


More information about the MPlayer-cvslog mailing list