[FFmpeg-devel] [PATCH] IPv6 support v.2

Ronald S. Bultje rsbultje
Sun Oct 28 18:16:22 CET 2007


Hi all,

after my previous udp patches, here's the updated patches to convert all of
ffmpeg over to the IPv6 protocol. I've tested it over TCP and UDP and
everything works as expected and as before (that is, given that you have the
patches from the previous thread to make udp work applied also).

ffmpeg-avinetaddr-ipv6.patch - add IPv6 host resolution and info API, this
deprecates resolve_host() (ipv4-only). Also converts tcp.c over to the new
API.
ffmpeg-ipv6-udp.patch - converts udp.c over to the new API, also removes all
duplicated code for CONFIG_IPV6 except for the multicase setup.
ffmpeg-ipv6-ffserver.patch - ports ffserver over to the new API - it's big
because ffserver is a lot of code.
ffmpeg-ipv6-rtsp.patch - ports the rtsp code (rtsp.c, rtp.c, sdp.c) over to
the new API.
ffmpeg-remove-resolve_host.patch - removes inet_aton() from the public API
(no longer needed) and removes resolve_host() (replaced by
inetaddr_resolve()).

Please test, review and apply, they're in a state where it's worth keeping
them (and it'd make my tree diff a lot smaller :-) ). I can also send each
one in a separate thread if you think that makes it easier, as long as they
go in.

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-avinetaddr-ipv6.patch
Type: application/octet-stream
Size: 11018 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071028/1e588ef2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-ipv6-udp.patch
Type: application/octet-stream
Size: 8206 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071028/1e588ef2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-ipv6-ffserver.patch
Type: application/octet-stream
Size: 26433 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071028/1e588ef2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-ipv6-rtsp.patch
Type: application/octet-stream
Size: 11068 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071028/1e588ef2/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-remove-resolve_host.patch
Type: application/octet-stream
Size: 2166 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071028/1e588ef2/attachment-0004.obj>



More information about the ffmpeg-devel mailing list