From 619298a84dcad59e42062a00b8ffe422a1a38d7c Mon Sep 17 00:00:00 2001 From: John Wimer Date: Fri, 3 Sep 2010 19:25:59 +0000 Subject: Send NAT punching messages to the address specified in the Transport: message, if available (RFC 2326, section 12.39), fixes issue 2212. Patch by John Wimer . Originally committed as revision 25032 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/os_support.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavformat/os_support.h') diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 5c9e81b340..1330d3dc04 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -55,6 +55,10 @@ typedef int socklen_t; #define closesocket close #endif +#ifndef INET6_ADDRSTRLEN +#define INET6_ADDRSTRLEN INET_ADDRSTRLEN +#endif + #if CONFIG_FFSERVER #if !HAVE_POLL_H typedef unsigned long nfds_t; -- cgit v1.2.3