summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-08-25 12:29:32 +0000
committerMartin Storsjö <martin@martin.st>2010-08-25 12:29:32 +0000
commit7ad1dc54479117163b3dbe0fb7edd854288a9eb1 (patch)
tree9adac68c7f5b1df967794fe523a9c8b414122bf1 /libavformat/internal.h
parentd09c0a1666fa3509dc39b027df8497c8518e5338 (diff)
downloadffmpeg-7ad1dc54479117163b3dbe0fb7edd854288a9eb1.tar.gz
Properly handle IPv6 addresses in the SDP generation
Originally committed as revision 24915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 9f91d33b15..decc26fdd6 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -149,11 +149,13 @@ int ff_url_join(char *str, int size, const char *proto,
* @param size the size of the buff buffer
* @param c the AVCodecContext of the media to describe
* @param dest_addr the destination address of the media stream, may be NULL
+ * @param dest_type the destination address type, may be NULL
* @param port the destination port of the media stream, 0 if unknown
* @param ttl the time to live of the stream, 0 if not multicast
*/
void ff_sdp_write_media(char *buff, int size, AVCodecContext *c,
- const char *dest_addr, int port, int ttl);
+ const char *dest_addr, const char *dest_type,
+ int port, int ttl);
/**
* Write a packet to another muxer than the one the user originally