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

Martin Storsjö martin
Thu Mar 4 10:24:09 CET 2010


Hi,

Here's the latest round of these patches. Changes compared to last 
revision:
- Rename the function to ff_url_join, to better reflect that it's the 
opposite to url_split, mention this in the doxy
- Add a missed change of snprintf -> ff_url_join in rtsp.c
- Join authorization with the correct char, as pointed out by Ronald
- Return the number of chars written to the buffer, as requested by Luca

- Initialize the network system with ff_network_init before doing 
getaddrinfo. This function will be called before the tcp/udp protocols 
actually initialize the network, and without this, the getaddrinfo call 
fails on windows. This makes things a bit ugly when having to get a 
matching ff_network_close call in all codepaths, though. Any suggestions 
on ways to simplify it?

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-function-ff_url_join-for-assembling-urls.patch
Type: text/x-diff
Size: 3806 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100304/986ec345/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Use-ff_url_join-for-assembling-urls.patch
Type: text/x-diff
Size: 7449 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100304/986ec345/attachment-0001.patch>



More information about the ffmpeg-devel mailing list