From f1888474fa540758df320471bdfc980a5aa3bfbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 11 Jan 2010 17:28:55 +0000 Subject: [PATCH] =?UTF-8?q?Deprecate=20resolve=5Fhost().=20Patch=20by=20Ma?= =?UTF-8?q?rtin=20Storsj=C3=B6=20<$firstname()$firstname,st>.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 21146 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 5cae39ec24..53f93ef961 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1293,7 +1293,8 @@ const char *small_strptime(const char *p, const char *fmt, 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,