[FFmpeg-devel] [RFC] libavformat: URL reassembly with IPv6 addresses

Michael Niedermayer michaelni
Fri Mar 5 16:32:34 CET 2010


On Fri, Mar 05, 2010 at 10:33:26AM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Fri, Mar 5, 2010 at 10:27 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Fri, Mar 05, 2010 at 09:38:10AM -0500, Ronald S. Bultje wrote:
> >> On Fri, Mar 5, 2010 at 6:13 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> > On Thu, Mar 04, 2010 at 10:05:24AM -0500, Ronald S. Bultje wrote:
> >> >> Caller should call ff_network_init() before calling this (preferably
> >> >> in its _init() function). Caller should also call ff_network_close()
> >> >> once the last call is done (preferably in its close() function).
> >> >> Mention that in the doxy.
> >> >
> >> > that should be in url_open_protocol() then
> >>
> >> then the url_*() code would have to know whether we're a network protocol?
> >
> > it could assume every one is
> 
> Actually I was thinking of a CAP_* flag field in the URLProtocol
> declaration for this. But that's API breakage. Why don't we add it
> under a proper #if version <=> bla and if smaller, always
> ff_network_init()?

ok


> 
> Or too much code, just add the damn thing?

ok as well (depends also on how expensice unneeded netinit is)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100305/708a4c5c/attachment.pgp>



More information about the ffmpeg-devel mailing list