Commit 39cc95b6 authored by Clément Stenac's avatar Clément Stenac

Fix a few warnings

parent afe5229f
...@@ -56,7 +56,7 @@ enum access_query_e ...@@ -56,7 +56,7 @@ enum access_query_e
* XXX: avoid to use it unless you can't */ * XXX: avoid to use it unless you can't */
ACCESS_SET_PRIVATE_ID_STATE, /* arg1= int i_private_data, vlc_bool_t b_selected can fail */ ACCESS_SET_PRIVATE_ID_STATE, /* arg1= int i_private_data, vlc_bool_t b_selected can fail */
ACCESS_SET_PRIVATE_ID_CA, /* arg1= int i_program_number, uint16_t i_vpid, uint16_t i_apid1, uint16_t i_apid2, uint16_t i_apid3, uint8_t i_length, uint8_t *p_data */ ACCESS_SET_PRIVATE_ID_CA, /* arg1= int i_program_number, uint16_t i_vpid, uint16_t i_apid1, uint16_t i_apid2, uint16_t i_apid3, uint8_t i_length, uint8_t *p_data */
ACCESS_GET_PRIVATE_ID_STATE, /* arg1=int i_private_data arg2=vlc_bool_t * res=can fail */ ACCESS_GET_PRIVATE_ID_STATE /* arg1=int i_private_data arg2=vlc_bool_t * res=can fail */
}; };
struct access_t struct access_t
......
...@@ -105,7 +105,7 @@ enum demux_query_e ...@@ -105,7 +105,7 @@ enum demux_query_e
DEMUX_CAN_PAUSE, /* arg1= vlc_bool_t* cannot fail */ DEMUX_CAN_PAUSE, /* arg1= vlc_bool_t* cannot fail */
DEMUX_CAN_CONTROL_PACE, /* arg1= vlc_bool_t* cannot fail */ DEMUX_CAN_CONTROL_PACE, /* arg1= vlc_bool_t* cannot fail */
DEMUX_GET_PTS_DELAY, /* arg1= int64_t* cannot fail */ DEMUX_GET_PTS_DELAY, /* arg1= int64_t* cannot fail */
DEMUX_SET_PAUSE_STATE, /* arg1= vlc_bool_t can fail */ DEMUX_SET_PAUSE_STATE /* arg1= vlc_bool_t can fail */
}; };
/* stream_t *s could be null and then it mean a access+demux in one */ /* stream_t *s could be null and then it mean a access+demux in one */
......
...@@ -81,7 +81,7 @@ enum es_out_query_e ...@@ -81,7 +81,7 @@ enum es_out_query_e
/* Set meta data for group (dynamic) */ /* Set meta data for group (dynamic) */
ES_OUT_SET_GROUP_META, /* arg1=int i_group arg2=vlc_meta_t */ ES_OUT_SET_GROUP_META, /* arg1=int i_group arg2=vlc_meta_t */
/* */ /* */
ES_OUT_DEL_GROUP, /* arg1=int i_group */ ES_OUT_DEL_GROUP /* arg1=int i_group */
}; };
struct es_out_t struct es_out_t
......
...@@ -280,7 +280,7 @@ enum input_state_e ...@@ -280,7 +280,7 @@ enum input_state_e
INIT_S, INIT_S,
PLAYING_S, PLAYING_S,
PAUSE_S, PAUSE_S,
END_S, END_S
}; };
/* "rate" default, min/max /* "rate" default, min/max
...@@ -463,7 +463,7 @@ enum input_query_e ...@@ -463,7 +463,7 @@ enum input_query_e
INPUT_SET_BOOKMARK, /* arg1= int res=can fail */ INPUT_SET_BOOKMARK, /* arg1= int res=can fail */
/* On the fly input slave */ /* On the fly input slave */
INPUT_ADD_SLAVE, /* arg1= char * */ INPUT_ADD_SLAVE /* arg1= char * */
}; };
VLC_EXPORT( int, input_vaControl,( input_thread_t *, int i_query, va_list ) ); VLC_EXPORT( int, input_vaControl,( input_thread_t *, int i_query, va_list ) );
......
...@@ -54,8 +54,8 @@ enum stream_query_e ...@@ -54,8 +54,8 @@ enum stream_query_e
/* Special for direct access control from demuxer. /* Special for direct access control from demuxer.
* XXX: avoid using it by all means */ * XXX: avoid using it by all means */
STREAM_CONTROL_ACCESS, /* arg1= int i_access_query, args res: can fail STREAM_CONTROL_ACCESS /* arg1= int i_access_query, args res: can fail
if access unreachable or access control answer */ if access unreachable or access control answer */
}; };
/** /**
......
...@@ -552,7 +552,7 @@ static int announce_SAPAnnounceDel( sap_handler_t *p_sap, ...@@ -552,7 +552,7 @@ static int announce_SAPAnnounceDel( sap_handler_t *p_sap,
static int announce_SendSAPAnnounce( sap_handler_t *p_sap, static int announce_SendSAPAnnounce( sap_handler_t *p_sap,
sap_session_t *p_session ) sap_session_t *p_session )
{ {
int i_ret; unsigned int i_ret;
/* This announce has never been sent yet */ /* This announce has never been sent yet */
if( p_session->i_last == 0 ) if( p_session->i_last == 0 )
......
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