[FFmpeg-devel] [PATCH] ipv6-compatible resolve_host() replacement

Ronald S. Bultje rsbultje
Fri Sep 28 14:45:20 CEST 2007


Hi,

On 9/23/07, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>
> See $subj:
> - add a new API to replace the (now deprecated) resolve_host(), which I
> call AVInetAddr / inetaddr_*()
> - convert tcp.c (easiest proof-of-concept, only a few lines of code) to
> use it
> - deprecate (but not remove) resolve_host()
>
> this is about the simplest patch I can give you to implement ipv6 support.
> udp.c / ffserver.c / rtsp.c follow later, followed by removal of
> resolve_host() (and probably also making inet_aton() private to os_support.c
> instead of exporting it in avformat.h; all should use inetaddr_parse/str()
> now).


Attached is a slightly modified version that takes comments from Luca /
Benoit into account (or: ping :-) ).

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-avinetaddr-ipv6.patch
Type: application/octet-stream
Size: 9579 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070928/4b52680e/attachment.obj>



More information about the ffmpeg-devel mailing list