[FFmpeg-cvslog] r17381 - in trunk/libavformat: rtsp.c rtsp.h
rbultje
subversion
Mon Feb 16 17:27:36 CET 2009
Author: rbultje
Date: Mon Feb 16 17:27:35 2009
New Revision: 17381
Log:
Rename RTSP_*_LAST to RTSP_*_NB in line with PIX_FMT_* in lavc. See "[PATCH]
document rtsp.h" mailinglist thread.
Modified:
trunk/libavformat/rtsp.c
trunk/libavformat/rtsp.h
Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c Mon Feb 16 17:27:08 2009 (r17380)
+++ trunk/libavformat/rtsp.c Mon Feb 16 17:27:35 2009 (r17381)
@@ -1097,7 +1097,7 @@ static int rtsp_read_header(AVFormatCont
}
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);
Modified: trunk/libavformat/rtsp.h
==============================================================================
--- trunk/libavformat/rtsp.h Mon Feb 16 17:27:08 2009 (r17380)
+++ trunk/libavformat/rtsp.h Mon Feb 16 17:27:35 2009 (r17381)
@@ -31,13 +31,13 @@ enum RTSPLowerTransport {
RTSP_LOWER_TRANSPORT_UDP = 0,
RTSP_LOWER_TRANSPORT_TCP = 1,
RTSP_LOWER_TRANSPORT_UDP_MULTICAST = 2,
- RTSP_LOWER_TRANSPORT_LAST
+ RTSP_LOWER_TRANSPORT_NB
};
enum RTSPTransport {
RTSP_TRANSPORT_RTP,
RTSP_TRANSPORT_RDT,
- RTSP_TRANSPORT_LAST
+ RTSP_TRANSPORT_NB
};
#define RTSP_DEFAULT_PORT 554
@@ -82,7 +82,7 @@ enum RTSPServerType {
RTSP_SERVER_RTP, /**< Standards-compliant RTP-server */
RTSP_SERVER_REAL, /**< Realmedia-style server */
RTSP_SERVER_WMS, /**< Windows Media server */
- RTSP_SERVER_LAST
+ RTSP_SERVER_NB
};
typedef struct RTSPState {
More information about the ffmpeg-cvslog
mailing list