Commit 591bebd1 authored by Christophe Massiot's avatar Christophe Massiot
Browse files

* More consistency in the p_input->stream management.

parent 775bd58d
......@@ -2,7 +2,7 @@
* input_ps.c: PS demux and packet management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input_ps.c,v 1.9 2001/02/20 08:47:25 stef Exp $
* $Id: input_ps.c,v 1.10 2001/03/02 15:51:22 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -301,7 +301,6 @@ static void PSInit( input_thread_t * p_input )
*****************************************************************************/
static void PSEnd( input_thread_t * p_input )
{
free( p_input->stream.p_demux_data );
free( p_input->p_plugin_data );
}
......
......@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_programs.c,v 1.38 2001/03/02 13:49:37 massiot Exp $
* $Id: input_programs.c,v 1.39 2001/03/02 15:51:22 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -87,6 +87,11 @@ void input_EndStream( input_thread_t * p_input )
{
input_DelES( p_input, p_input->stream.pp_es[0] );
}
if( p_input->stream.p_demux_data != NULL )
{
free( p_input->stream.p_demux_data );
}
}
/*****************************************************************************
......
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