[vlc-commits] demux: dash: fix include order
Francois Cartegnie
git at videolan.org
Wed Mar 9 21:50:36 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 9 17:53:17 2016 +0100| [e9c488a2642035e7f8135602ab015ee010089df8] | committer: Francois Cartegnie
demux: dash: fix include order
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9c488a2642035e7f8135602ab015ee010089df8
---
modules/demux/dash/DASHStream.cpp | 4 ++++
modules/demux/dash/DASHStream.hpp | 4 ----
modules/demux/dash/mp4/IndexReader.cpp | 4 ++++
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/modules/demux/dash/DASHStream.cpp b/modules/demux/dash/DASHStream.cpp
index aeb68f2..b559799 100644
--- a/modules/demux/dash/DASHStream.cpp
+++ b/modules/demux/dash/DASHStream.cpp
@@ -17,6 +17,10 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "DASHStream.hpp"
using namespace dash;
diff --git a/modules/demux/dash/DASHStream.hpp b/modules/demux/dash/DASHStream.hpp
index 876c83e..e9d169e 100644
--- a/modules/demux/dash/DASHStream.hpp
+++ b/modules/demux/dash/DASHStream.hpp
@@ -20,10 +20,6 @@
#ifndef DASHSTREAM_HPP
#define DASHSTREAM_HPP
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include "../adaptive/Streams.hpp"
namespace dash
diff --git a/modules/demux/dash/mp4/IndexReader.cpp b/modules/demux/dash/mp4/IndexReader.cpp
index 7d8c62b..06df9e1 100644
--- a/modules/demux/dash/mp4/IndexReader.cpp
+++ b/modules/demux/dash/mp4/IndexReader.cpp
@@ -17,6 +17,10 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "IndexReader.hpp"
#include "../mpd/Representation.h"
#include "../mpd/MPD.h"
More information about the vlc-commits
mailing list