Commit 60de5f83 authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

Fix segmentation fault

parent 4cc6e59a
...@@ -244,9 +244,7 @@ void __osd_MenuHide( vlc_object_t *p_this ) ...@@ -244,9 +244,7 @@ void __osd_MenuHide( vlc_object_t *p_this )
#endif #endif
osd_UpdateState( p_osd->p_state, osd_UpdateState( p_osd->p_state,
p_osd->p_state->i_x, p_osd->p_state->i_y, p_osd->p_state->i_x, p_osd->p_state->i_y,
p_osd->p_state->p_visible->p_current_state->p_pic->p[Y_PLANE].i_visible_pitch, 0, 0, NULL );
p_osd->p_state->p_visible->p_current_state->p_pic->p[Y_PLANE].i_visible_lines,
NULL );
osd_SetMenuUpdate( p_osd, VLC_TRUE ); osd_SetMenuUpdate( p_osd, VLC_TRUE );
vlc_object_release( (vlc_object_t*) p_osd ); vlc_object_release( (vlc_object_t*) p_osd );
...@@ -566,7 +564,6 @@ void __osd_Volume( vlc_object_t *p_this ) ...@@ -566,7 +564,6 @@ void __osd_Volume( vlc_object_t *p_this )
/* Update the volume state images to match the current volume */ /* Update the volume state images to match the current volume */
i_volume = config_GetInt( p_this, "volume" ); i_volume = config_GetInt( p_this, "volume" );
i_steps = osd_VolumeStep( p_this, i_volume, p_button->i_ranges ); i_steps = osd_VolumeStep( p_this, i_volume, p_button->i_ranges );
msg_Err( p_this, "OSD steps=%d", i_steps );
p_button->p_current_state = osd_VolumeStateChange( p_button->p_states, i_steps ); p_button->p_current_state = osd_VolumeStateChange( p_button->p_states, i_steps );
osd_UpdateState( p_osd->p_state, osd_UpdateState( p_osd->p_state,
......
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