summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-09-17 21:47:11 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-09-17 21:47:11 +0000
commitf93378978959b6fccb5aa895684654b4c6f6d12d (patch)
treec03987a3859ca60c3093233bb93c6a6c089b2ef4 /libavformat/rtsp.h
parentafcdf34236b26f2df82ff2371d801da5d335d63e (diff)
RTSP basic authentication, patch originally by Philip Coombes
(philip coombes zoneminder com), see "[PATCH]RTSP Basic Authentication" thread on mailinglist. Originally committed as revision 19905 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index e88d365a10..3db8235afd 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -228,6 +228,9 @@ typedef struct RTSPState {
* of RTSPMessageHeader->real_challenge */
enum RTSPServerType server_type;
+ /** base64-encoded authorization lines (username:password) */
+ char *auth_b64;
+
/** The last reply of the server to a RTSP command */
char last_reply[2048]; /* XXX: allocate ? */