summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-15 11:31:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-15 11:31:13 +0100
commita9b1536a018b867e3458a278c2992f7cd2fb707d (patch)
tree55556d53044f7e8854f59c9eb7fcab76f3ea19d1 /libavformat/internal.h
parent4d941eac1655b21af33c6e4d52b7bfd7f9e5b990 (diff)
parentb74dbdd5e99aed7f3bf1ecb5da1b374e5ba35768 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: bgmc: Fix av_malloc checks in ff_bgmc_init() rtp: set the payload type as stream id Conflicts: libavformat/rtpenc_chain.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 2689b2f48c..16a2c96937 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -123,7 +123,8 @@ int ff_url_join(char *str, int size, const char *proto,
*
* @param buff the buffer to append the SDP fragment to
* @param size the size of the buff buffer
- * @param c the AVCodecContext of the media to describe
+ * @param st the AVStream of the media to describe
+ * @param idx the global stream index
* @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
@@ -131,7 +132,7 @@ int ff_url_join(char *str, int size, const char *proto,
* @param fmt the AVFormatContext, which might contain options modifying
* the generated SDP
*/
-void ff_sdp_write_media(char *buff, int size, AVCodecContext *c,
+void ff_sdp_write_media(char *buff, int size, AVStream *st, int idx,
const char *dest_addr, const char *dest_type,
int port, int ttl, AVFormatContext *fmt);