[MPlayer-cvslog] r19271 - in trunk/libmpdemux/realrtsp: real.c real.h

rtogni subversion at mplayerhq.hu
Mon Jul 31 00:54:08 CEST 2006


Author: rtogni
Date: Mon Jul 31 00:54:07 2006
New Revision: 19271

Modified:
   trunk/libmpdemux/realrtsp/real.c
   trunk/libmpdemux/realrtsp/real.h

Log:
Make some more function static


Modified: trunk/libmpdemux/realrtsp/real.c
==============================================================================
--- trunk/libmpdemux/realrtsp/real.c	(original)
+++ trunk/libmpdemux/realrtsp/real.c	Mon Jul 31 00:54:07 2006
@@ -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;

Modified: trunk/libmpdemux/realrtsp/real.h
==============================================================================
--- trunk/libmpdemux/realrtsp/real.h	(original)
+++ trunk/libmpdemux/realrtsp/real.h	Mon Jul 31 00:54:07 2006
@@ -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);



More information about the MPlayer-cvslog mailing list