]> git.sesse.net Git - vlc/commitdiff
Fix minor cast mistmatches
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 4 Sep 2007 19:26:57 +0000 (19:26 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 4 Sep 2007 19:26:57 +0000 (19:26 +0000)
modules/misc/rtsp.c
modules/services_discovery/sap.c

index 884d18304c727b3afe7a3d4227a618beeee78ad3..60d0fbf3083b62948054227b37ddf2b8461cc535 100644 (file)
@@ -221,9 +221,9 @@ static rtsp_client_t *RtspClientGet( vod_media_t *, const char * );
 static void           RtspClientDel( vod_media_t *, rtsp_client_t * );
 
 static int RtspCallback( httpd_callback_sys_t *, httpd_client_t *,
-                         httpd_message_t *, httpd_message_t * );
+                         httpd_message_t *, const httpd_message_t * );
 static int RtspCallbackES( httpd_callback_sys_t *, httpd_client_t *,
-                           httpd_message_t *, httpd_message_t * );
+                           httpd_message_t *, const httpd_message_t * );
 
 static char *SDPGenerate( const vod_media_t *, httpd_client_t *cl );
 
@@ -896,7 +896,7 @@ static void RtspClientDel( vod_media_t *p_media, rtsp_client_t *p_rtsp )
 }
 
 static int RtspCallback( httpd_callback_sys_t *p_args, httpd_client_t *cl,
-                         httpd_message_t *answer, httpd_message_t *query )
+                         httpd_message_t *answer, const httpd_message_t *query )
 {
     vod_media_t *p_media = (vod_media_t*)p_args;
     vod_t *p_vod = p_media->p_vod;
@@ -1228,7 +1228,7 @@ static int RtspCallback( httpd_callback_sys_t *p_args, httpd_client_t *cl,
 }
 
 static int RtspCallbackES( httpd_callback_sys_t *p_args, httpd_client_t *cl,
-                           httpd_message_t *answer, httpd_message_t *query )
+                           httpd_message_t *answer, const httpd_message_t *query )
 {
     media_es_t *p_es = (media_es_t*)p_args;
     vod_media_t *p_media = p_es->p_media;
index c57af93e4353f8e51a53a669ed80a7ddb7cc1531..52935e2c627e985d186f16c2206d7e6454a8cb90 100644 (file)
@@ -317,7 +317,7 @@ static int Open( vlc_object_t *p_this )
 static int OpenDemux( vlc_object_t *p_this )
 {
     demux_t *p_demux = (demux_t *)p_this;
-    uint8_t *p_peek;
+    const uint8_t *p_peek;
     char *psz_sdp = NULL;
     sdp_t *p_sdp = NULL;
     int errval = VLC_EGENERIC;