Mercurial > libavformat.hg
changeset 2884:e6e7ba123447 libavformat
Drop RTSP default protocol.
patch by Ronald S. Bultje, rsbultje gmail com
author | diego |
---|---|
date | Wed, 02 Jan 2008 19:40:43 +0000 |
parents | 8991b973d9f8 |
children | 266321e9b978 |
files | rtsp.c rtsp.h |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rtsp.c Wed Jan 02 18:53:38 2008 +0000 +++ b/rtsp.c Wed Jan 02 19:40:43 2008 +0000 @@ -77,7 +77,9 @@ /* XXX: currently, the only way to change the protocols consists in changing this variable */ +#if LIBAVFORMAT_VERSION_INT < (53 << 16) int rtsp_default_protocols = (1 << RTSP_PROTOCOL_RTP_UDP); +#endif static int rtsp_probe(AVProbeData *p) {
--- a/rtsp.h Wed Jan 02 18:53:38 2008 +0000 +++ b/rtsp.h Wed Jan 02 19:40:43 2008 +0000 @@ -81,7 +81,9 @@ int rtsp_init(void); void rtsp_parse_line(RTSPHeader *reply, const char *buf); +#if LIBAVFORMAT_VERSION_INT < (53 << 16) extern int rtsp_default_protocols; +#endif extern int rtsp_rtp_port_min; extern int rtsp_rtp_port_max;