Mercurial > libavformat.hg
changeset 4381:c535276fb3ff libavformat
Delete an enum and a function typedef that aren't used anywhere, and
move move a struct/typedef in rtsp.h that is only used in ffserver.c into
ffserver.c. See "[PATCH] rtsp.h: move/remove unused thingies" thread on ML.
author | rbultje |
---|---|
date | Thu, 05 Feb 2009 17:00:10 +0000 |
parents | 1b695f013cd3 |
children | 78e03e2c698d |
files | rtsp.h |
diffstat | 1 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/rtsp.h Thu Feb 05 14:53:25 2009 +0000 +++ b/rtsp.h Thu Feb 05 17:00:10 2009 +0000 @@ -128,24 +128,6 @@ PayloadContext *dynamic_protocol_context; ///< Only valid if it's a dynamic protocol. (This is any private data associated with the dynamic protocol) } RTSPStream; -/** the callback can be used to extend the connection setup/teardown step */ -enum RTSPCallbackAction { - RTSP_ACTION_SERVER_SETUP, - RTSP_ACTION_SERVER_TEARDOWN, - RTSP_ACTION_CLIENT_SETUP, - RTSP_ACTION_CLIENT_TEARDOWN, -}; - -typedef struct RTSPActionServerSetup { - uint32_t ipaddr; - char transport_option[512]; -} RTSPActionServerSetup; - -typedef int FFRTSPCallback(enum RTSPCallbackAction action, - const char *session_id, - char *buf, int buf_size, - void *arg); - int rtsp_init(void); void rtsp_parse_line(RTSPHeader *reply, const char *buf);