]> git.sesse.net Git - vlc/commitdiff
* ./src/input/input.c: fixed a bug with the input remaining stuck when no
authorSam Hocevar <sam@videolan.org>
Tue, 21 May 2002 01:40:17 +0000 (01:40 +0000)
committerSam Hocevar <sam@videolan.org>
Tue, 21 May 2002 01:40:17 +0000 (01:40 +0000)
    network data was present.

src/input/input.c

index 350d6ce341886a7b07fff5f86a1f4e747c2e0ba9..48bb78eff967458b6e28a72b8dc5824ecd91fcda 100644 (file)
@@ -4,7 +4,7 @@
  * decoders.
  *****************************************************************************
  * Copyright (C) 1998-2001 VideoLAN
- * $Id: input.c,v 1.196 2002/05/20 22:39:36 sam Exp $
+ * $Id: input.c,v 1.197 2002/05/21 01:40:17 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -558,7 +558,7 @@ static int InitThread( input_thread_t * p_input )
     {
         while( !input_FillBuffer( p_input ) )
         {
-            if( p_input->b_die || p_input->b_error )
+            if( p_input->b_die || p_input->b_error || p_input->b_eof )
             {
                 module_Unneed( p_input->p_access_module );
                 return( -1 );