[MPlayer-dev-eng] [PATCH] Make stream support http redirect

Ulion ulion2002 at gmail.com
Mon Nov 19 17:54:56 CET 2007


2007/11/20, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> > Index: stream/stream.h
> > ===================================================================
> > --- stream/stream.h   (revision 25083)
> > +++ stream/stream.h   (working copy)
> > @@ -48,6 +48,7 @@
> >  #define STREAM_UNSUPPORTED -1
> >  #define STREAM_ERROR 0
> >  #define STREAM_OK    1
> > +#define STREAM_REDIRECTED -2
>
> Seems like a weird place to put it, unless you can use 2 for it, I'd put
> it before the UNSUPPORTED?
> Apart from that, while the stream.c part unfortunately is a bit complex
> I did not see any problems (but I did not take time for a real review
> and am too tired for it anyway).
>

It need less than zero, so I made it value -2, the place is not
suitable, I will move it up as you suggested.


-- 
Ulion



More information about the MPlayer-dev-eng mailing list