* stream_output.c : stream output module
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: stream_output.c,v 1.31 2003/07/31 19:24:10 fenrir Exp $
+ * $Id: stream_output.c,v 1.32 2003/08/01 18:42:56 fenrir Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr>
*ppsz_name = NULL;
*pp_cfg = NULL;
+ if( p == NULL )
+ {
+ return NULL;
+ }
+
SKIPSPACE( p );
while( *p && *p != '{' && *p != ':' && *p != ' ' && *p != '\t' )
void sout_stream_delete( sout_stream_t *p_stream )
{
- sout_cfg_t *p_cfg;
-
msg_Dbg( p_stream, "destroying chain... (name=%s)", p_stream->psz_name );
if( p_stream->p_module ) module_Unneed( p_stream, p_stream->p_module );