diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-02-21 22:26:44 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-02-21 22:26:44 +0000 |
commit | a9e534d56128971af55b44d38381461a56aa23a3 (patch) | |
tree | 5e1144426cc743a9fcee96c40bc23fe6739f971f /libavformat/rtsp.h | |
parent | b1598b5805c1f05004d2c3114d2abeafc93ae716 (diff) | |
download | ffmpeg-a9e534d56128971af55b44d38381461a56aa23a3.tar.gz |
Rename RTSPHeader to RTSPMessageHeader to reflect more clearly what the
structure is meant to represent. See "[PATCH] rtsp.[ch]: RTSPHeader ->
RTSPServerResponse" and "[PATCH] document rtsp.h" threads on ML.
Originally committed as revision 17504 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 48df0feac8..94ee719519 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -59,7 +59,7 @@ typedef struct RTSPTransportField { enum RTSPLowerTransport lower_transport; } RTSPTransportField; -typedef struct RTSPHeader { +typedef struct RTSPMessageHeader { int content_length; enum RTSPStatusCode status_code; /**< response code from server */ int nb_transports; @@ -70,7 +70,7 @@ typedef struct RTSPHeader { char session_id[512]; char real_challenge[64]; /**< the RealChallenge1 field from the server */ char server[64]; -} RTSPHeader; +} RTSPMessageHeader; enum RTSPClientState { RTSP_STATE_IDLE, @@ -126,7 +126,7 @@ typedef struct RTSPStream { } RTSPStream; int rtsp_init(void); -void rtsp_parse_line(RTSPHeader *reply, const char *buf); +void rtsp_parse_line(RTSPMessageHeader *reply, const char *buf); #if LIBAVFORMAT_VERSION_INT < (53 << 16) extern int rtsp_default_protocols; |