[FFmpeg-devel] [PATCH/RFC] Prefer getaddrinfo over gethostbyname

Ronald S. Bultje rsbultje
Thu Jan 21 16:42:10 CET 2010


On Wed, Jan 20, 2010 at 1:38 PM, Martin Storsj? <martin at martin.st> wrote:
> Yes, exactly. (Well, ffserver needs updating, too, but I really don't want
> to be stretched that far, just when I originally wanted a threadsafe
> resolve_host ;-)

You're fine, I'll see what I can do about ffserver in the near future.

> Here's an updated version of the fix for udp.c - it removes the large ipv6
> configure item and replaces it with checks for sockaddr_in6 and ipv6_mreq
> and conditionally compiles the small parts that actually use these
> features, removing the ipv4-only codepath.



More information about the ffmpeg-devel mailing list