]> granicus.if.org Git - libmatroska/commitdiff
Revert "forbid the use of KaxTimeSlice and KaxSliceLaceNumber as they are deprecated...
authorMoritz Bunkus <moritz@bunkus.org>
Fri, 10 Mar 2017 13:33:34 +0000 (14:33 +0100)
committerMoritz Bunkus <moritz@bunkus.org>
Fri, 10 Mar 2017 13:33:34 +0000 (14:33 +0100)
This reverts commit 3c698a372abe63a60b60309f2bbeaf12d1c15979. It
isn't really required, but it breaks ABI compatibility.

matroska/KaxSemantic.h
src/KaxSemantic.cpp

index b383e6a20a5970c596b0b35798c9dfe5dcbc1672..65084fbe0eb7746f683e91fdd43c79d64ee77fbb 100644 (file)
@@ -168,14 +168,10 @@ DECLARE_MKX_MASTER(KaxSlices)
 
 
 DECLARE_MKX_MASTER(KaxTimeSlice)
-public:
-  filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault);
 };
 
 
 DECLARE_MKX_UINTEGER(KaxSliceLaceNumber)
-public:
-  filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault);
 };
 
 #if MATROSKA_VERSION >= 2
index 3242f432e1054d85cd1998cb34e56baba92305b3..4af2557adc34bed6f8cdc74e48158213bd712665 100644 (file)
@@ -803,16 +803,6 @@ filepos_t KaxReferenceVirtual::RenderData(IOCallback & /* output */, bool /* bFo
   return 0;
 }
 
-filepos_t KaxTimeSlice::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) {
-  assert(false); // no you are not allowed to use this element !
-  return 0;
-}
-
-filepos_t KaxSliceLaceNumber::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) {
-  assert(false); // no you are not allowed to use this element !
-  return 0;
-}
-
 filepos_t KaxSliceFrameNumber::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) {
   assert(false); // no you are not allowed to use this element !
   return 0;