diff options
author | Luca Abeni <lucabe72@email.it> | 2007-11-16 07:59:41 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-11-16 07:59:41 +0000 |
commit | 7ed19d7fbfc0dda44d401388db06b245f07d206f (patch) | |
tree | 1d834bdda316cba0989eb7481d53829731748f4a /libavformat/rtp_internal.h | |
parent | b5298028b050d8c20d741c5219c1b0d2304c9391 (diff) | |
download | ffmpeg-7ed19d7fbfc0dda44d401388db06b245f07d206f.tar.gz |
Remove the "AVRtpPayloadTypes[i].pt == i" assumption from RTP and RTSP
code (this is needed for supporting MPEG2 video in the RTP muxer)
Originally committed as revision 11046 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_internal.h')
-rw-r--r-- | libavformat/rtp_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtp_internal.h b/libavformat/rtp_internal.h index 6ef797cb70..fefbaf5504 100644 --- a/libavformat/rtp_internal.h +++ b/libavformat/rtp_internal.h @@ -113,6 +113,8 @@ extern RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler; int rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, char *value, int value_size); ///< from rtsp.c, but used by rtp dynamic protocol handlers. void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m); +const char *ff_rtp_enc_name(int payload_type); +enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type); void av_register_rtp_dynamic_payload_handlers(void); |