Mercurial > libavformat.hg
changeset 4518:35d76826b641 libavformat
Move to rtp.h the prototypes of all the functions defined in rtp.c
author | lucabe |
---|---|
date | Tue, 17 Feb 2009 08:09:34 +0000 |
parents | 504007a5b7ff |
children | f4b9967e0131 |
files | rtp.h rtpdec.h |
diffstat | 2 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/rtp.h Tue Feb 17 00:02:13 2009 +0000 +++ b/rtp.h Tue Feb 17 08:09:34 2009 +0000 @@ -33,6 +33,10 @@ */ int ff_rtp_get_payload_type(AVCodecContext *codec); +int rtp_get_codec_info(AVCodecContext *codec, int payload_type); +const char *ff_rtp_enc_name(int payload_type); +enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type); + #define RTP_PT_PRIVATE 96 #define RTP_VERSION 2 #define RTP_MAX_SDES 256 /**< maximum text length for SDES */
--- a/rtpdec.h Tue Feb 17 00:02:13 2009 +0000 +++ b/rtpdec.h Tue Feb 17 08:09:34 2009 +0000 @@ -59,8 +59,6 @@ #define RTP_MIN_PACKET_LENGTH 12 #define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */ -int rtp_get_codec_info(AVCodecContext *codec, int payload_type); - typedef struct RTPDemuxContext RTPDemuxContext; RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *rtpc, int payload_type, RTPPayloadData *rtp_payload_data); void rtp_parse_set_dynamic_protocol(RTPDemuxContext *s, PayloadContext *ctx, @@ -180,9 +178,6 @@ 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. -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); #endif /* AVFORMAT_RTPDEC_H */