* http.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
- * $Id: http.c,v 1.2 2003/02/25 17:17:43 fenrir Exp $
+ * $Id: http.c,v 1.5 2003/08/03 16:36:20 bigben Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
free( psz_name );
free( psz_file_name );
- free( p_access );
+ free( p_sys );
return( VLC_EGENERIC );
}
free( psz_name );
free( psz_file_name );
- free( p_access );
+ free( p_sys );
return( VLC_EGENERIC );
}
p_sys->p_httpd->pf_register_stream( p_sys->p_httpd,
psz_file_name,
GetMime( psz_file_name ),
- NULL, NULL );
+ sout_cfg_find_value( p_access->p_cfg, "user" ),
+ sout_cfg_find_value( p_access->p_cfg, "pwd" ) );
if( !p_sys->p_httpd_stream )
{
free( psz_name );
free( psz_file_name );
- free( p_access );
+ free( p_sys );
return( VLC_EGENERIC );
}