[matroska] r1213 - trunk/libmatroska/matroska

[email protected] Sat, 8 Oct 2005 19:04:43 +0400 (MSD)
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-10-08 19:04:42 +0400 (Sat, 08 Oct 2005)
New Revision: 1213

Modified:
   trunk/libmatroska/matroska/KaxBlock.h
Log:
libmatroska: KaxSimpleBlock is MATROSKA_VERSION 2

Modified: trunk/libmatroska/matroska/KaxBlock.h
===================================================================
--- trunk/libmatroska/matroska/KaxBlock.h	2005-10-08 14:39:59 UTC (rev 1212)
+++ trunk/libmatroska/matroska/KaxBlock.h	2005-10-08 15:04:42 UTC (rev 1213)
@@ -278,6 +278,7 @@
 		EbmlElement * Clone() const {return new KaxBlock(*this);}
 };
 
+#if MATROSKA_VERSION >= 2
 class MATROSKA_DLL_API KaxSimpleBlock : public KaxInternalBlock {
 	public:
 		KaxSimpleBlock() :KaxInternalBlock(true) {}
@@ -290,6 +291,7 @@
 		void SetKeyframe(bool b_keyframe) { bIsKeyframe = b_keyframe; }
 		void SetDiscardable(bool b_discard) { bIsDiscardable = b_discard; }
 };
+#endif // MATROSKA_VERSION
 
 class MATROSKA_DLL_API KaxBlockDuration : public EbmlUInteger {
 	public: