Mercurial > libavformat.hg
diff rtpdec.h @ 5964:2d2273c246ce libavformat
Make rtp protocol obey rfc3550
author | lu_zero |
---|---|
date | Mon, 19 Apr 2010 11:40:45 +0000 |
parents | 3671d661f4b5 |
children | 9a86b49201bb |
line wrap: on
line diff
--- a/rtpdec.h Sun Apr 18 19:09:25 2010 +0000 +++ b/rtpdec.h Mon Apr 19 11:40:45 2010 +0000 @@ -67,8 +67,12 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, const uint8_t *buf, int len); void rtp_parse_close(RTPDemuxContext *s); +#if (LIBAVFORMAT_VERSION_MAJOR <= 53) +int rtp_get_local_port(URLContext *h); +#endif +int rtp_get_local_rtp_port(URLContext *h); +int rtp_get_local_rtcp_port(URLContext *h); -int rtp_get_local_port(URLContext *h); int rtp_set_remote_url(URLContext *h, const char *uri); #if (LIBAVFORMAT_VERSION_MAJOR <= 52) void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd);