[vlc-commits] remove useless xspf.h
Rafaël Carré
git at videolan.org
Mon Jul 4 23:20:01 CEST 2011
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Jul 4 00:57:59 2011 -0400| [204d6edd8e47d7c8036c0450f3c6e122bda4c009] | committer: Rafaël Carré
remove useless xspf.h
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=204d6edd8e47d7c8036c0450f3c6e122bda4c009
---
modules/misc/playlist/Modules.am | 3 +--
modules/misc/playlist/xspf.c | 2 +-
modules/misc/playlist/xspf.h | 35 -----------------------------------
po/POTFILES.in | 1 -
4 files changed, 2 insertions(+), 39 deletions(-)
diff --git a/modules/misc/playlist/Modules.am b/modules/misc/playlist/Modules.am
index 803d251..fbeec8c 100644
--- a/modules/misc/playlist/Modules.am
+++ b/modules/misc/playlist/Modules.am
@@ -1,9 +1,8 @@
SOURCES_export = \
export.c \
- html.c \
+ html.c \
m3u.c \
xspf.c \
- xspf.h \
$(NULL)
libvlc_LTLIBRARIES += libexport_plugin.la
diff --git a/modules/misc/playlist/xspf.c b/modules/misc/playlist/xspf.c
index 4f09caf..f59e203 100644
--- a/modules/misc/playlist/xspf.c
+++ b/modules/misc/playlist/xspf.c
@@ -35,12 +35,12 @@
#include <vlc_input.h>
#include <vlc_strings.h>
#include <vlc_url.h>
-#include "xspf.h"
#include <assert.h>
static void xspf_export_item( playlist_item_t *, FILE *, int * );
static void xspf_extension_item( playlist_item_t *, FILE *, int * );
+int xspf_export_playlist( vlc_object_t *p_this );
/**
* \brief Prints the XSPF header to file, writes each item by xspf_export_item()
diff --git a/modules/misc/playlist/xspf.h b/modules/misc/playlist/xspf.h
deleted file mode 100644
index adfaa90..0000000
--- a/modules/misc/playlist/xspf.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*****************************************************************************
- * Copyright (C) 2006 Daniel Stränger <vlc at schmaller dot de>
- *
- * 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
- * (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.
- *
- * 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.
- *******************************************************************************/
-/**
- * \file modules/misc/playlist/xspf.h
- * \brief XSPF playlist export module header file
- */
-
-/* defs */
-#define B10000000 0x80
-#define B01000000 0x40
-#define B11000000 0xc0
-#define B00001111 0x0f
-
-#define XSPF_MAX_CONTENT 2000
-
-/* constants */
-const char hexchars[16] = "0123456789ABCDEF";
-
-/* prototypes */
-int xspf_export_playlist( vlc_object_t * );
diff --git a/po/POTFILES.in b/po/POTFILES.in
index db34da4..fcfdd04 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -939,7 +939,6 @@ modules/misc/playlist/export.c
modules/misc/playlist/html.c
modules/misc/playlist/m3u.c
modules/misc/playlist/xspf.c
-modules/misc/playlist/xspf.h
modules/misc/rtsp.c
modules/misc/sqlite.c
modules/misc/stats/decoder.c
More information about the vlc-commits
mailing list