aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-01-11 17:28:55 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-01-11 17:28:55 +0000
commitf1888474fa540758df320471bdfc980a5aa3bfbb (patch)
treef4e0b5df4c4ce7016952ad69c06165b7b97012d9
parentfa053ca725358e728f6ad70f01be7a4dedeebd57 (diff)
downloadffmpeg-f1888474fa540758df320471bdfc980a5aa3bfbb.tar.gz
Deprecate resolve_host(). Patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21146 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avformat.h3
1 files changed, 2 insertions, 1 deletions
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,