* http.c : http mini-server ;)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: http.c,v 1.18 2003/07/29 18:51:16 fenrir Exp $
+ * $Id: http.c,v 1.19 2003/07/30 21:09:06 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Laurent Aimar <fenrir@via.ecp.fr>
{
char * psz_vlcpath = p_intf->p_libvlc->psz_vlcpath;
psz_src = malloc( strlen(psz_vlcpath) + strlen("/share/http" ) + 1 );
+#if defined(WIN32)
+ sprintf( psz_src, "%s/http", psz_vlcpath);
+#else
sprintf( psz_src, "%s/share/http", psz_vlcpath);
+#endif
}
#else
psz_src = config_GetPsz( p_intf, "http-src" );
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999-2002 VideoLAN
- * $Id: input_programs.c,v 1.115 2003/07/23 22:01:25 gbazin Exp $
+ * $Id: input_programs.c,v 1.116 2003/07/30 21:09:06 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
}
/* Take care of the ES description */
- if( psz_desc )
+ if( psz_desc && *psz_desc )
{
p_es->psz_desc = strdup( psz_desc );
}