Mercurial > mplayer.hg
changeset 19266:240318c2460f
Make some more function static
author | rtogni |
---|---|
date | Sun, 30 Jul 2006 22:54:07 +0000 |
parents | f8d91df64bf1 |
children | bbb4cd6f43d6 |
files | libmpdemux/realrtsp/real.c libmpdemux/realrtsp/real.h |
diffstat | 2 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/realrtsp/real.c Sun Jul 30 22:20:50 2006 +0000 +++ b/libmpdemux/realrtsp/real.c Sun Jul 30 22:54:07 2006 +0000 @@ -108,7 +108,7 @@ } } -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 @@ * 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 @@ 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;
--- a/libmpdemux/realrtsp/real.h Sun Jul 30 22:20:50 2006 +0000 +++ b/libmpdemux/realrtsp/real.h Sun Jul 30 22:54:07 2006 +0000 @@ -47,13 +47,7 @@ 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);