aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2010-04-19 11:40:45 +0000
committerLuca Barbato <lu_zero@gentoo.org>2010-04-19 11:40:45 +0000
commit9094d867aa131c96da0b1e7247e38adcfdd2c99e (patch)
tree8ccac112e76717e19d2fda3f1b8293b2cfb9b2a3 /libavformat/rtpdec.h
parent3748b2b8e8bcedba2de7fe826c4094169a885840 (diff)
downloadffmpeg-9094d867aa131c96da0b1e7247e38adcfdd2c99e.tar.gz
Make rtp protocol obey rfc3550
Originally committed as revision 22906 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 19996fadd4..1754d2bce1 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -67,8 +67,12 @@ void rtp_parse_set_dynamic_protocol(RTPDemuxContext *s, PayloadContext *ctx,
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_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);