Commit 256df85c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix minor cast mistmatches

parent 8917f566
...@@ -221,9 +221,9 @@ static rtsp_client_t *RtspClientGet( vod_media_t *, const char * ); ...@@ -221,9 +221,9 @@ static rtsp_client_t *RtspClientGet( vod_media_t *, const char * );
static void RtspClientDel( vod_media_t *, rtsp_client_t * ); static void RtspClientDel( vod_media_t *, rtsp_client_t * );
static int RtspCallback( httpd_callback_sys_t *, httpd_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 *, 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 ); 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 ) ...@@ -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, 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_media_t *p_media = (vod_media_t*)p_args;
vod_t *p_vod = p_media->p_vod; 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, ...@@ -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, 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; media_es_t *p_es = (media_es_t*)p_args;
vod_media_t *p_media = p_es->p_media; vod_media_t *p_media = p_es->p_media;
......
...@@ -317,7 +317,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -317,7 +317,7 @@ static int Open( vlc_object_t *p_this )
static int OpenDemux( vlc_object_t *p_this ) static int OpenDemux( vlc_object_t *p_this )
{ {
demux_t *p_demux = (demux_t *)p_this; demux_t *p_demux = (demux_t *)p_this;
uint8_t *p_peek; const uint8_t *p_peek;
char *psz_sdp = NULL; char *psz_sdp = NULL;
sdp_t *p_sdp = NULL; sdp_t *p_sdp = NULL;
int errval = VLC_EGENERIC; int errval = VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment