Mercurial > libavformat.hg
comparison internal.h @ 6405:1f6088eaa469 libavformat
Properly handle IPv6 addresses in the SDP generation
author | mstorsjo |
---|---|
date | Wed, 25 Aug 2010 12:29:32 +0000 |
parents | 27242bd0812c |
children |
comparison
equal
deleted
inserted
replaced
6404:37944ce385a0 | 6405:1f6088eaa469 |
---|---|
147 * | 147 * |
148 * @param buff the buffer to append the SDP fragment to | 148 * @param buff the buffer to append the SDP fragment to |
149 * @param size the size of the buff buffer | 149 * @param size the size of the buff buffer |
150 * @param c the AVCodecContext of the media to describe | 150 * @param c the AVCodecContext of the media to describe |
151 * @param dest_addr the destination address of the media stream, may be NULL | 151 * @param dest_addr the destination address of the media stream, may be NULL |
152 * @param dest_type the destination address type, may be NULL | |
152 * @param port the destination port of the media stream, 0 if unknown | 153 * @param port the destination port of the media stream, 0 if unknown |
153 * @param ttl the time to live of the stream, 0 if not multicast | 154 * @param ttl the time to live of the stream, 0 if not multicast |
154 */ | 155 */ |
155 void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, | 156 void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, |
156 const char *dest_addr, int port, int ttl); | 157 const char *dest_addr, const char *dest_type, |
158 int port, int ttl); | |
157 | 159 |
158 /** | 160 /** |
159 * Write a packet to another muxer than the one the user originally | 161 * Write a packet to another muxer than the one the user originally |
160 * intended. Useful when chaining muxers, where one muxer internally | 162 * intended. Useful when chaining muxers, where one muxer internally |
161 * writes a received packet to another muxer. | 163 * writes a received packet to another muxer. |