]> git.sesse.net Git - vlc/blobdiff - modules/access_output/livehttp.c
ebml: Removing useless cast.
[vlc] / modules / access_output / livehttp.c
index b2c55f301a7556e655fb27f9db79c034f6cf6a9a..d335a6432b25139903790271b35444333abfbca3 100644 (file)
@@ -1,25 +1,24 @@
 /*****************************************************************************
  * livehttp.c: Live HTTP Streaming
  *****************************************************************************
- * Copyright (C) 2001, 2002 the VideoLAN team
- * Copyright (C) 2009-2010 by Keary Griffin
- * $Id$
+ * Copyright © 2001, 2002 VLC authors and VideoLAN
+ * Copyright © 2009-2010 by Keary Griffin
  *
  * Authors: Keary Griffin <kearygriffin at gmail.com>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -34,6 +33,9 @@
 #include <time.h>
 #include <fcntl.h>
 #include <errno.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
@@ -84,7 +86,7 @@ vlc_module_begin ()
     set_description( N_("HTTP Live streaming output") )
     set_shortname( N_("LiveHTTP" ))
     add_shortcut( "livehttp" )
-    set_capability( "sout access", 50 )
+    set_capability( "sout access", 0 )
     set_category( CAT_SOUT )
     set_subcategory( SUBCAT_SOUT_ACO )
     add_integer( SOUT_CFG_PREFIX "seglen", 10, SEGLEN_TEXT, SEGLEN_LONGTEXT, true )