[FFmpeg-devel] [PATCH] fix av_url_read_fseek

Carl Eugen Hoyos cehoyos
Mon Apr 12 17:04:24 CEST 2010


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > -        s->pos = s->seek(h, 0, SEEK_CUR);
> > +        pos = s->seek(h, 0, SEEK_CUR);
> > +        if (pos >= 0)
> > +            s->pos = pos;
> > +        else if (pos != AVERROR(ENOSYS))
> > +            ret = pos;
> >      }
> 
> looks ok if it works & doesnt break any of the reg/fate tests

Passes regression tests, so applied.
We will see about fate.

Carl Eugen




More information about the ffmpeg-devel mailing list