diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2010-04-19 11:40:45 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2010-04-19 11:40:45 +0000 |
commit | 9094d867aa131c96da0b1e7247e38adcfdd2c99e (patch) | |
tree | 8ccac112e76717e19d2fda3f1b8293b2cfb9b2a3 /libavformat/rtpdec.h | |
parent | 3748b2b8e8bcedba2de7fe826c4094169a885840 (diff) | |
download | ffmpeg-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.h | 6 |
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); |