[vlc-commits] matroska: Using forward declaration for EbmlParser
Hugo Beauzée-Luyssen
git at videolan.org
Tue Oct 18 12:26:56 CEST 2011
vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Oct 17 20:26:07 2011 +0200| [9323b96741e9416a5c1b314524c4eead55f5e6c1] | committer: Jean-Baptiste Kempf
matroska: Using forward declaration for EbmlParser
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9323b96741e9416a5c1b314524c4eead55f5e6c1
---
modules/demux/mkv/matroska_segment.cpp | 2 ++
modules/demux/mkv/matroska_segment.hpp | 6 ++++--
modules/demux/mkv/matroska_segment_parse.cpp | 2 ++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index c4cd2b7..fc8cd51 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -28,6 +28,8 @@
#include "demux.hpp"
+#include "Ebml_parser.hpp"
+
extern "C" {
#include "../vobsub.h"
}
diff --git a/modules/demux/mkv/matroska_segment.hpp b/modules/demux/mkv/matroska_segment.hpp
index 05efd9d..02173b2 100644
--- a/modules/demux/mkv/matroska_segment.hpp
+++ b/modules/demux/mkv/matroska_segment.hpp
@@ -27,13 +27,15 @@
#include "mkv.hpp"
-
-#include "Ebml_parser.hpp"
+class EbmlParser;
class chapter_edition_c;
class chapter_translation_c;
class chapter_item_c;
+struct mkv_track_t;
+struct mkv_index_t;
+
class matroska_segment_c
{
public:
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index bc12606..c250cdf 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -28,6 +28,8 @@
#include "demux.hpp"
+#include "Ebml_parser.hpp"
+
/*****************************************************************************
* Some functions to manipulate memory
*****************************************************************************/
More information about the vlc-commits
mailing list