[vlc-commits] playlist: clean up #includes for meta data modules

Rémi Denis-Courmont git at videolan.org
Tue Dec 31 19:45:11 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 31 20:06:19 2013 +0200| [55bcbe0e23acb96bdbe6ad11f321c60fa5770cf9] | committer: Rémi Denis-Courmont

playlist: clean up #includes for meta data modules

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55bcbe0e23acb96bdbe6ad11f321c60fa5770cf9
---

 src/playlist/art.c       |    7 ++-----
 src/playlist/fetcher.c   |    6 +++---
 src/playlist/preparser.c |    5 +----
 3 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/src/playlist/art.c b/src/playlist/art.c
index 2aede11..b38db74 100644
--- a/src/playlist/art.c
+++ b/src/playlist/art.c
@@ -26,20 +26,17 @@
 # include "config.h"
 #endif
 
-#include <assert.h>
 #include <sys/stat.h>
 #include <errno.h>
 
 #include <vlc_common.h>
-#include <vlc_playlist.h>
+#include <vlc_input_item.h>
 #include <vlc_fs.h>
 #include <vlc_strings.h>
-#include <vlc_stream.h>
 #include <vlc_url.h>
 #include <vlc_md5.h>
 
-#include "../libvlc.h"
-#include "playlist_internal.h"
+#include "art.h"
 
 static void ArtCacheCreateDir( const char *psz_dir )
 {
diff --git a/src/playlist/fetcher.c b/src/playlist/fetcher.c
index f682c8e..b6a9ee9 100644
--- a/src/playlist/fetcher.c
+++ b/src/playlist/fetcher.c
@@ -25,20 +25,20 @@
 # include "config.h"
 #endif
 
+#include <limits.h>
 #include <assert.h>
 
 #include <vlc_common.h>
-#include <vlc_playlist.h>
 #include <vlc_stream.h>
-#include <limits.h>
 #include <vlc_art_finder.h>
 #include <vlc_memory.h>
 #include <vlc_demux.h>
 #include <vlc_modules.h>
 
+#include "libvlc.h"
 #include "art.h"
 #include "fetcher.h"
-#include "playlist_internal.h"
+#include "input/input_interface.h"
 
 /*****************************************************************************
  * Structures/definitions
diff --git a/src/playlist/preparser.c b/src/playlist/preparser.c
index 505cece..eb07817 100644
--- a/src/playlist/preparser.c
+++ b/src/playlist/preparser.c
@@ -26,13 +26,10 @@
 #endif
 
 #include <vlc_common.h>
-#include <vlc_playlist.h>
 
-#include "art.h"
 #include "fetcher.h"
 #include "preparser.h"
-#include "../input/input_interface.h"
-
+#include "input/input_interface.h"
 
 /*****************************************************************************
  * Structures/definitions



More information about the vlc-commits mailing list