* Fix an accidental change from [18009] and add a mutex destroy I forgot to commit
[vlc.git] / src / input / input.c
index c1b7fda..810d1bc 100644 (file)
@@ -859,7 +859,7 @@ static int Init( input_thread_t * p_input )
 
         if( p_input->i_start > 0 )
         {
-            if( p_input->i_start >= p_input->input.p_item->i_duration )
+            if( p_input->i_start >= val.i_time )
             {
                 msg_Warn( p_input, "invalid start-time ignored" );
             }