Commit 1b7b08f5 authored by Christophe Massiot's avatar Christophe Massiot

* Fixed a bug which prevented the input to exit normally (non-selected

ES in the pp_selected_es array).
parent 9679481f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management * input_programs.c: es_descriptor_t, pgrm_descriptor_t management
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: input_programs.c,v 1.8 2000/12/20 23:24:23 reno Exp $ * $Id: input_programs.c,v 1.9 2000/12/21 12:38:27 massiot Exp $
* *
* Authors: * Authors:
* *
...@@ -472,6 +472,9 @@ int input_SelectES( input_thread_t * p_input, es_descriptor_t * p_es ) ...@@ -472,6 +472,9 @@ int input_SelectES( input_thread_t * p_input, es_descriptor_t * p_es )
break; break;
} }
*p_spot = p_es; if( p_es->p_decoder_fifo != NULL )
{
*p_spot = p_es;
}
return( 0 ); return( 0 );
} }
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