[FFmpeg-cvslog] r21146 - trunk/libavformat/avformat.h

rbultje subversion
Mon Jan 11 18:28:55 CET 2010


Author: rbultje
Date: Mon Jan 11 18:28:55 2010
New Revision: 21146

Log:
Deprecate resolve_host(). Patch by Martin Storsj? <$firstname()$firstname,st>.

Modified:
   trunk/libavformat/avformat.h

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Mon Jan 11 18:27:07 2010	(r21145)
+++ trunk/libavformat/avformat.h	Mon Jan 11 18:28:55 2010	(r21146)
@@ -1293,7 +1293,8 @@ const char *small_strptime(const char *p
                            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,



More information about the ffmpeg-cvslog mailing list