Commit 7d8822ee authored by Sam Hocevar's avatar Sam Hocevar

* ./src/input/input.c: fixed a bug with the input remaining stuck when no

    network data was present.
parent b27d2f93
......@@ -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 );
......
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