Mercurial > libavformat.hg
diff rtsp.c @ 4514:2a84d46427d1 libavformat
Rename RTSP_*_LAST to RTSP_*_NB in line with PIX_FMT_* in lavc. See "[PATCH]
document rtsp.h" mailinglist thread.
author | rbultje |
---|---|
date | Mon, 16 Feb 2009 16:27:35 +0000 |
parents | 80f21f72d7d6 |
children | f4b9967e0131 |
line wrap: on
line diff
--- a/rtsp.c Mon Feb 16 16:27:08 2009 +0000 +++ b/rtsp.c Mon Feb 16 16:27:35 2009 +0000 @@ -1097,7 +1097,7 @@ } if (!lower_transport_mask) - lower_transport_mask = (1 << RTSP_LOWER_TRANSPORT_LAST) - 1; + lower_transport_mask = (1 << RTSP_LOWER_TRANSPORT_NB) - 1; /* open the tcp connexion */ snprintf(tcpname, sizeof(tcpname), "tcp://%s:%d", host, port);