diff options
author | John Wimer <john@god.vtic.net> | 2010-09-03 19:25:59 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-09-03 19:25:59 +0000 |
commit | 619298a84dcad59e42062a00b8ffe422a1a38d7c (patch) | |
tree | 7174f30ee1300d019672e600051ce39beca7cf05 /libavformat/rtsp.h | |
parent | 2c166c3af15a2333090075608590e1229dcce552 (diff) | |
download | ffmpeg-619298a84dcad59e42062a00b8ffe422a1a38d7c.tar.gz |
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 <john at god vtic net>.
Originally committed as revision 25032 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index c6c3972576..c5776187e0 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -97,6 +97,7 @@ typedef struct RTSPTransportField { int ttl; struct sockaddr_storage destination; /**< destination IP address */ + char source[INET6_ADDRSTRLEN + 1]; /**< source IP address */ /** data/packet transport protocol; e.g. RTP or RDT */ enum RTSPTransport transport; |