aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-18 15:41:06 +0300
committerMartin Storsjö <martin@martin.st>2011-06-10 10:45:22 +0300
commit0558e266a267b5d90d3be1d8d86e60db2c303773 (patch)
treeff68db9dcaed4e5cf97c942fe408cf8b42c48c18 /libavformat/internal.h
parentf33a6a22b4f2382a5113194335ae2a22ae957fed (diff)
downloadffmpeg-0558e266a267b5d90d3be1d8d86e60db2c303773.tar.gz
sdp: Allow passing an AVFormatContext to the SDP generation
Options from the AVFormatContext can be read for modifying the generated SDP. Signed-off-by: Martin Storsjö <martin@martin.st>
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 ad3d9c91c2..7413b0906a 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -124,10 +124,12 @@ int ff_url_join(char *str, int size, const char *proto,
* @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
+ * @param fmt the AVFormatContext, which might contain options modifying
+ * the generated SDP
*/
void ff_sdp_write_media(char *buff, int size, AVCodecContext *c,
const char *dest_addr, const char *dest_type,
- int port, int ttl);
+ int port, int ttl, AVFormatContext *fmt);
/**
* Write a packet to another muxer than the one the user originally