Commit 808e4451 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Frimp

parent 38d22ff9
...@@ -415,7 +415,8 @@ static int SPDUSend( access_t * p_access, int i_session_id, ...@@ -415,7 +415,8 @@ static int SPDUSend( access_t * p_access, int i_session_id,
static void SessionOpen( access_t * p_access, uint8_t i_slot, static void SessionOpen( access_t * p_access, uint8_t i_slot,
uint8_t *p_spdu, int i_size ) uint8_t *p_spdu, int i_size )
{ {
VLC_UNUSED(i_size); VLC_UNUSED( i_size );
access_sys_t *p_sys = p_access->p_sys; access_sys_t *p_sys = p_access->p_sys;
int i_session_id; int i_session_id;
int i_resource_id = ResourceIdToInt( &p_spdu[2] ); int i_resource_id = ResourceIdToInt( &p_spdu[2] );
...@@ -550,8 +551,9 @@ static void SessionCreate( access_t * p_access, int i_slot, int i_resource_id ) ...@@ -550,8 +551,9 @@ static void SessionCreate( access_t * p_access, int i_slot, int i_resource_id )
static void SessionCreateResponse( access_t * p_access, uint8_t i_slot, static void SessionCreateResponse( access_t * p_access, uint8_t i_slot,
uint8_t *p_spdu, int i_size ) uint8_t *p_spdu, int i_size )
{ {
VLC_UNUSED(i_slot); VLC_UNUSED( i_size );
VLC_UNUSED(i_size); VLC_UNUSED( i_slot );
access_sys_t *p_sys = p_access->p_sys; access_sys_t *p_sys = p_access->p_sys;
int i_status = p_spdu[2]; int i_status = p_spdu[2];
int i_resource_id = ResourceIdToInt( &p_spdu[3] ); int i_resource_id = ResourceIdToInt( &p_spdu[3] );
...@@ -1647,7 +1649,8 @@ static char *MMIGetText( access_t *p_access, uint8_t **pp_apdu, int *pi_size ) ...@@ -1647,7 +1649,8 @@ static char *MMIGetText( access_t *p_access, uint8_t **pp_apdu, int *pi_size )
static void MMIHandleEnq( access_t *p_access, int i_session_id, static void MMIHandleEnq( access_t *p_access, int i_session_id,
uint8_t *p_apdu, int i_size ) uint8_t *p_apdu, int i_size )
{ {
VLC_UNUSED(i_size); VLC_UNUSED( i_size );
access_sys_t *p_sys = p_access->p_sys; access_sys_t *p_sys = p_access->p_sys;
mmi_t *p_mmi = (mmi_t *)p_sys->p_sessions[i_session_id - 1].p_sys; mmi_t *p_mmi = (mmi_t *)p_sys->p_sessions[i_session_id - 1].p_sys;
int i_slot = p_sys->p_sessions[i_session_id - 1].i_slot; int i_slot = p_sys->p_sessions[i_session_id - 1].i_slot;
......
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