[FFmpeg-devel] [PATCH/RFC] Prefer getaddrinfo over gethostbyname
Luca Abeni
lucabe72
Thu Jan 7 09:02:22 CET 2010
Hi Martin,
Martin Storsj? wrote:
[...]
> Here's a rerolled version of the series.
>
> The getaddrinfo replacement is a bit restructured and improved (I read the
> manpage a bit and found more corner cases I had to take care of, and now
> check the return values from av_malloc).
>
> The old patch for the udp protocol is dropped.
>
> When checking for enable/disable ipv6, it doesn't check for
> getaddrinfo/getnameinfo any more, since we make sure these are always
> available. This check also looks in mingw/windows specific headers now.
>
> The non-ipv6 codepath in the udp protocol is removed, since everything the
> ipv6 codepath needed should now be provided through wrappers.
The udp.c patch looks good to me.
Thanks,
Luca
More information about the ffmpeg-devel
mailing list