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

Luca Abeni lucabe72
Thu Jan 21 09:07:30 CET 2010


Martin Storsj? wrote:
[...]
> 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.

Looks fine to me.
And I particularly like this:
 > configure         |   26 +++++------------------
 > libavformat/udp.c |   57 ++++------------------------------------------------
 > 2 files changed, 11 insertions(+), 72 deletions(-)
;-)


				Luca



More information about the ffmpeg-devel mailing list