mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-10 14:34:28 +08:00
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
This commit is contained in:
@ -103,6 +103,11 @@ static const char *http_state[] = {
|
|||||||
|
|
||||||
#define SYNC_TIMEOUT (10 * 1000)
|
#define SYNC_TIMEOUT (10 * 1000)
|
||||||
|
|
||||||
|
typedef struct RTSPActionServerSetup {
|
||||||
|
uint32_t ipaddr;
|
||||||
|
char transport_option[512];
|
||||||
|
} RTSPActionServerSetup;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int64_t count1, count2;
|
int64_t count1, count2;
|
||||||
int64_t time1, time2;
|
int64_t time1, time2;
|
||||||
|
@ -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)
|
PayloadContext *dynamic_protocol_context; ///< Only valid if it's a dynamic protocol. (This is any private data associated with the dynamic protocol)
|
||||||
} RTSPStream;
|
} 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);
|
int rtsp_init(void);
|
||||||
void rtsp_parse_line(RTSPHeader *reply, const char *buf);
|
void rtsp_parse_line(RTSPHeader *reply, const char *buf);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user