Commit 43464204 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: remove antilogy

Before the next patch, the deadline should always be zero or positive.
(Also note that deadlines, unlike time-outs are absolute timestamps.)
parent a40a621d
......@@ -1476,7 +1476,7 @@ static inline int ControlPop( input_thread_t *p_input,
while( p_sys->i_control <= 0 ||
( b_postpone_seek && ControlIsSeekRequest( p_sys->control[0].i_type ) ) )
{
if( !vlc_object_alive( p_input ) || i_deadline < 0 )
if( !vlc_object_alive( p_input ) )
{
vlc_mutex_unlock( &p_sys->lock_control );
return VLC_EGENERIC;
......
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