[vlc-commits] Do not include <vlc_es.h> from <vlc_fourcc.h>

Rémi Denis-Courmont git at videolan.org
Thu Jul 14 19:44:47 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 14 16:47:27 2011 +0300| [cd004719b07e87604127f6266c2f4c1db42bf0af] | committer: Rémi Denis-Courmont

Do not include <vlc_es.h> from <vlc_fourcc.h>

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

 include/vlc_fourcc.h |    3 ---
 src/misc/fourcc.c    |    2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 8c5b176..0bfa58c 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -24,9 +24,6 @@
 #ifndef VLC_FOURCC_H
 #define VLC_FOURCC_H 1
 
-#include <vlc_common.h>
-#include <vlc_es.h>
-
 /* Video codec */
 #define VLC_CODEC_MPGV      VLC_FOURCC('m','p','g','v')
 #define VLC_CODEC_MP4V      VLC_FOURCC('m','p','4','v')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index cea64fe..9293335 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -28,7 +28,9 @@
 # include "config.h"
 #endif
 
+#include <vlc_common.h>
 #include <vlc_fourcc.h>
+#include <vlc_es.h>
 #include <assert.h>
 
 typedef struct



More information about the vlc-commits mailing list