aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-02-16 16:27:35 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-02-16 16:27:35 +0000
commit2a1d51c573ace12a677872c086b77e541981aaff (patch)
treebc9c859dc005eb8d215233e02381ab473b35e5cc /libavformat/rtsp.c
parentb4314bff6b71ea0693b52ff78454770d5f17f91b (diff)
downloadffmpeg-2a1d51c573ace12a677872c086b77e541981aaff.tar.gz
Rename RTSP_*_LAST to RTSP_*_NB in line with PIX_FMT_* in lavc. See "[PATCH]
document rtsp.h" mailinglist thread. Originally committed as revision 17381 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 34f0924d7e..636adce656 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1097,7 +1097,7 @@ static int rtsp_read_header(AVFormatContext *s,
}
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);