diff options
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 1923acbbc8..476154a564 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -25,14 +25,14 @@ #include "avformat.h" #include "rtspcodes.h" -enum RTSPProtocol { - RTSP_PROTOCOL_RTP_UDP = 0, - RTSP_PROTOCOL_RTP_TCP = 1, - RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2, +enum RTSPLowerTransport { + RTSP_LOWER_TRANSPORT_UDP = 0, + RTSP_LOWER_TRANSPORT_TCP = 1, + RTSP_LOWER_TRANSPORT_UDP_MULTICAST = 2, /** * This is not part of public API and shouldn't be used outside of ffmpeg. */ - RTSP_PROTOCOL_RTP_LAST + RTSP_LOWER_TRANSPORT_LAST }; #define RTSP_DEFAULT_PORT 554 @@ -50,7 +50,7 @@ typedef struct RTSPTransportField { int server_port_min, server_port_max; /**< RTP ports */ int ttl; /**< ttl value */ uint32_t destination; /**< destination IP address */ - enum RTSPProtocol protocol; + enum RTSPLowerTransport lower_transport; } RTSPTransportField; typedef struct RTSPHeader { |