summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-08 18:43:27 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-08 18:43:27 +0000
commit22f73dccad7c43ea68eefd7d4ce9efff6c8f45c2 (patch)
tree33a3e9ed6b7252fb94eddd62e366b0091174fc90 /libavformat/avformat.h
parentf19a068ef656ecc8303290d89769f1a1a288236e (diff)
Move resolve_host() to ffserver.c
This deprecated function is only used by ffserver, yet does not have a prototype visible there. In the long term, ffserver should be made IPv6-aware. In the meantime, this change removes cruft from lavf and fixes some warnings in ffserver. Originally committed as revision 22329 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 309d28af4c..eda556e986 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1339,10 +1339,6 @@ struct tm *brktimegm(time_t secs, struct tm *tm);
const char *small_strptime(const char *p, const char *fmt,
struct tm *dt);
-struct in_addr;
-/* Deprecated, use getaddrinfo instead. */
-attribute_deprecated int resolve_host(struct in_addr *sin_addr, const char *hostname);
-
/**
* Splits a URL string into components. To reassemble components back into
* a URL, use ff_url_join instead of using snprintf directly.