Commit 4ec6d79c authored by Christoph Pfister's avatar Christoph Pfister Committed by Rafaël Carré

fix off-by-one error

Signed-off-by: Rafaël Carré's avatarRafaël Carré <funman@videolan.org>
parent 44cdb9b3
......@@ -1295,7 +1295,7 @@ void libvlc_media_player_navigate( libvlc_media_player_t* p_mi,
{
input_thread_t *p_input_thread;
if ( navigate > libvlc_navigate_to_action_size)
if ( navigate >= libvlc_navigate_to_action_size)
return;
p_input_thread = libvlc_get_input_thread ( p_mi );
......
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