[Ffmpeg-devel] Re: [PATCH/RFC] http seeking
Ronald S. Bultje
rbultje
Fri Jan 5 02:10:33 CET 2007
Hi Michael,
On Fri, 2007-01-05, Michael Niedermaye wrote:
> On Thu, Jan 04, 2007 at 07:24:39PM -0500, Ronald S. Bultje wrote:
> > +static void http_close_cnx(URLContext *h)
> > +{
> > + HTTPContext *s = h->priv_data;
> > + url_close(s->hd);
> > +}
>
> hmm, why not call url_close() everywhere instead? it would also be clearer
> IMHO
As opposite of http_open_cnx(). Basically just in case something new
ever gets added that needs to be undone in all places (open and seek)
closing the connection. I can remove it for now if you wish.
Cheers,
Ronald
More information about the ffmpeg-devel
mailing list