# HG changeset patch # User rbultje # Date 1263230935 0 # Node ID 4ccdf5d8d424c3880294b8b44e1a75609b45ed0c # Parent afe4a96b68320aeb452abd6100747a1b922d7b26 Deprecate resolve_host(). Patch by Martin Storsj <$firstname()$firstname,st>. diff -r afe4a96b6832 -r 4ccdf5d8d424 avformat.h --- a/avformat.h Mon Jan 11 17:27:07 2010 +0000 +++ b/avformat.h Mon Jan 11 17:28:55 2010 +0000 @@ -1293,7 +1293,8 @@ struct tm *dt); struct in_addr; -int resolve_host(struct in_addr *sin_addr, const char *hostname); +/* Deprecated, use getaddrinfo instead. */ +attribute_deprecated int resolve_host(struct in_addr *sin_addr, const char *hostname); void url_split(char *proto, int proto_size, char *authorization, int authorization_size,