Commit 743711c4 authored by Laurent Aimar's avatar Laurent Aimar

* all: ooops wrong order for ACCESS_SET_PRIVATE_ID...

parent f0251c53
......@@ -54,7 +54,7 @@ enum access_query_e
/* Special mode for access/demux communication
* XXX: avoid to use it unless you can't */
ACCESS_SET_PRIVATE_ID_STATE, /* arg1= vlc_bool_t b_selected, int i_private_data can fail */
ACCESS_SET_PRIVATE_ID_STATE, /* arg1= int i_private_data, vlc_bool_t b_selected can fail */
};
struct access_t
......
......@@ -379,8 +379,8 @@ static int Control( access_t *p_access, int i_query, va_list args )
return VLC_EGENERIC;
case ACCESS_SET_PRIVATE_ID_STATE:
b_bool = (vlc_bool_t)va_arg( args, vlc_bool_t ); /* b_selected */
i_int = (int)va_arg( args, int ); /* Private data (pid for now)*/
b_bool = (vlc_bool_t)va_arg( args, vlc_bool_t ); /* b_selected */
if( !p_sys->b_budget_mode )
{
/* FIXME we may want to give the real type (me ?, I don't ;) */
......
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