[FFmpeg-devel] [PATCH] Use getaddrinfo instead of gethostbyname, if available

Martin Storsjö martin
Fri Jan 1 14:57:31 CET 2010


Hi,

The attached patch makes resolve_host in libavformat use getaddrinfo 
instead of gethostbyname, if getaddrinfo is available. gethostbyname isn't 
necessarily thread safe (e.g. it isn't on glibc/linux, but on mac os x and 
windows it is).

// Martin



More information about the ffmpeg-devel mailing list