summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-02-05 17:00:10 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-02-05 17:00:10 +0000
commitb516ecdd1267ce93ddf4c0b6c6436152d1c95a1e (patch)
tree9943e732788b322a21f0ae51653ec4955e8f765b /libavformat
parent21da81d7844237609bba1f02cec8eff936055f4d (diff)
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. Originally committed as revision 17005 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtsp.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 83d7626106..83d0a39184 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -128,24 +128,6 @@ typedef struct RTSPStream {
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);