[vlc-devel] [PATCH 2/7] demux: mkv: only include what's needed in stream_io_callback
Zhao Zhili
quinkblack at foxmail.com
Mon May 28 09:00:37 CEST 2018
---
modules/demux/mkv/stream_io_callback.cpp | 3 ---
modules/demux/mkv/stream_io_callback.hpp | 10 +++++++++-
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/modules/demux/mkv/stream_io_callback.cpp b/modules/demux/mkv/stream_io_callback.cpp
index 6a50745..32e5692 100644
--- a/modules/demux/mkv/stream_io_callback.cpp
+++ b/modules/demux/mkv/stream_io_callback.cpp
@@ -24,9 +24,6 @@
#include "stream_io_callback.hpp"
-#include "matroska_segment.hpp"
-#include "demux.hpp"
-
/*****************************************************************************
* Stream managment
*****************************************************************************/
diff --git a/modules/demux/mkv/stream_io_callback.hpp b/modules/demux/mkv/stream_io_callback.hpp
index 519a1ae..d0621c5 100644
--- a/modules/demux/mkv/stream_io_callback.hpp
+++ b/modules/demux/mkv/stream_io_callback.hpp
@@ -25,7 +25,15 @@
#ifndef VLC_MKV_STREAM_IO_CALLBACK_HPP_
#define VLC_MKV_STREAM_IO_CALLBACK_HPP_
-#include "mkv.hpp"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_demux.h>
+
+#include "ebml/IOCallback.h"
+
+using namespace LIBEBML_NAMESPACE;
/*****************************************************************************
* Stream managment
--
2.9.5
More information about the vlc-devel
mailing list