aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-30 22:54:07 +0000
committerGravatar rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-30 22:54:07 +0000
commitf29898360c4108046b3afc4a79e2838d8b9571a3 (patch)
tree509321798769d45ceec9fe2623407a4a9fd6a5e3
parent2915a2921d59535ea1c35d19626bc1bf8557bfdf (diff)
Make some more function static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19271 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/realrtsp/real.c6
-rw-r--r--libmpdemux/realrtsp/real.h6
2 files changed, 3 insertions, 9 deletions
diff --git a/libmpdemux/realrtsp/real.c b/libmpdemux/realrtsp/real.c
index f4d001cd88..00c0c124b3 100644
--- a/libmpdemux/realrtsp/real.c
+++ b/libmpdemux/realrtsp/real.c
@@ -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 i;
@@ -232,7 +232,7 @@ static int select_mlti_data(const char *mlti_chunk, int mlti_size, int selection
* 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;
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;
}
-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;
if (sscanf(str, "%d:%d:%d.%d", &hh, &mm, &ss, &ms) < 3) {
hh = 0;
diff --git a/libmpdemux/realrtsp/real.h b/libmpdemux/realrtsp/real.h
index 10b22065d7..d0fe3fe306 100644
--- a/libmpdemux/realrtsp/real.h
+++ b/libmpdemux/realrtsp/real.h
@@ -47,13 +47,7 @@ struct real_rtsp_session_t {
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);
-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);
struct real_rtsp_session_t *init_real_rtsp_session (void);
void free_real_rtsp_session (struct real_rtsp_session_t* real_session);