mirror of https://github.com/mpv-player/mpv
Make some more function static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19271 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2915a2921d
commit
f29898360c
|
@ -108,7 +108,7 @@ static void calc_response_string (char *result, char *challenge) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void real_calc_response_and_checksum (char *response, char *chksum, char *challenge) {
|
static void real_calc_response_and_checksum (char *response, char *chksum, char *challenge) {
|
||||||
|
|
||||||
int ch_len, table_len, resp_len;
|
int ch_len, table_len, resp_len;
|
||||||
int i;
|
int i;
|
||||||
|
@ -232,7 +232,7 @@ static int select_mlti_data(const char *mlti_chunk, int mlti_size, int selection
|
||||||
* looking at stream description.
|
* looking at stream description.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidth) {
|
static rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidth) {
|
||||||
|
|
||||||
sdpplin_t *desc;
|
sdpplin_t *desc;
|
||||||
rmff_header_t *header;
|
rmff_header_t *header;
|
||||||
|
@ -415,7 +415,7 @@ int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer) {
|
||||||
return (n <= 0) ? 0 : n+12;
|
return (n <= 0) ? 0 : n+12;
|
||||||
}
|
}
|
||||||
|
|
||||||
int convert_timestamp(char *str, int *sec, int *msec) {
|
static int convert_timestamp(char *str, int *sec, int *msec) {
|
||||||
int hh, mm, ss, ms = 0;
|
int hh, mm, ss, ms = 0;
|
||||||
if (sscanf(str, "%d:%d:%d.%d", &hh, &mm, &ss, &ms) < 3) {
|
if (sscanf(str, "%d:%d:%d.%d", &hh, &mm, &ss, &ms) < 3) {
|
||||||
hh = 0;
|
hh = 0;
|
||||||
|
|
|
@ -47,13 +47,7 @@ struct real_rtsp_session_t {
|
||||||
int header_read;
|
int header_read;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* calculates response and checksum of a given challenge
|
|
||||||
* (RealChallenge1 in rtsp). See implementation for details.
|
|
||||||
*/
|
|
||||||
void real_calc_response_and_checksum (char *response, char *chksum, char *challenge);
|
|
||||||
int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer);
|
int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer);
|
||||||
rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidth);
|
|
||||||
rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwidth);
|
rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwidth);
|
||||||
struct real_rtsp_session_t *init_real_rtsp_session (void);
|
struct real_rtsp_session_t *init_real_rtsp_session (void);
|
||||||
void free_real_rtsp_session (struct real_rtsp_session_t* real_session);
|
void free_real_rtsp_session (struct real_rtsp_session_t* real_session);
|
||||||
|
|
Loading…
Reference in New Issue