Skip to content

Commit

Permalink
remove unused FileKax.*
Browse files Browse the repository at this point in the history
It's included in mkvtoolnix but not used.
  • Loading branch information
robUx4 committed Mar 2, 2024
1 parent 9f92041 commit a98025c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 89 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ if(DEV_MODE)
endif()

set(libmatroska_SOURCES
src/FileKax.cpp
src/KaxAttached.cpp
src/KaxAttachments.cpp
src/KaxBlock.cpp
Expand All @@ -57,7 +56,6 @@ set(libmatroska_SOURCES
src/KaxVersion.cpp)

set(libmatroska_PUBLIC_HEADERS
matroska/FileKax.h
matroska/KaxBlockData.h
matroska/KaxBlock.h
matroska/KaxCluster.h
Expand Down
42 changes: 0 additions & 42 deletions matroska/FileKax.h

This file was deleted.

37 changes: 0 additions & 37 deletions src/FileKax.cpp

This file was deleted.

1 change: 0 additions & 1 deletion test/mux/test6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
\author Steve Lhomme <robux4 @ users.sf.net>
*/

#include "matroska/FileKax.h"
#include "matroska/KaxSegment.h"
#include "matroska/KaxTracks.h"
#include "matroska/KaxCluster.h"
Expand Down
6 changes: 0 additions & 6 deletions test/mux/test8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/

#include "matroska/KaxSegment.h"
#include "matroska/FileKax.h"
#include "matroska/KaxContexts.h"
#include "matroska/KaxTracks.h"
#include "matroska/KaxCluster.h"
Expand Down Expand Up @@ -43,8 +42,6 @@ int main(int argc, char **argv)
try {
StdIOCallback Cluster_file((argc>=2 ? argv[1] : "muxed.mkv"), MODE_READ);

// create the Matroska file
/// FileKax MuxedFile(Cluster_file);
// bool bAllowDummy = false; // don't read elements we don't know
bool bAllowDummy = true; // even read elements we don't know (needed for CRC checking)

Expand All @@ -56,7 +53,6 @@ int main(int argc, char **argv)
EbmlElement * ElementLevel3 = nullptr;
EbmlElement * ElementLevel4 = nullptr;

/// MuxedFile.ReadHead();
// find the EBML head in the file
ElementLevel0 = aStream.FindNextID(EBML_INFO(EbmlHead), 0xFFFFFFFFL);
if (ElementLevel0 != NULL)
Expand Down Expand Up @@ -91,8 +87,6 @@ int main(int argc, char **argv)
{
if (EbmlId(*ElementLevel0) == EBML_ID(KaxSegment)) {
Segment = static_cast<KaxSegment*>(ElementLevel0);
// MuxedFile.ReadTracks();
// MuxedFile.ReadCodec();
// scan the file for a Tracks element (all previous Level1 elements are discarded)
ElementLevel1 = aStream.FindNextElement(EBML_CONTEXT(ElementLevel0), UpperElementLevel, 0, bAllowDummy);

Expand Down
1 change: 0 additions & 1 deletion test/tags/test9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
\author Moritz Bunkus <mosu @ users.sf.net>
*/

#include <matroska/FileKax.h>
#include <matroska/KaxBlock.h>
#include <matroska/KaxCluster.h>
#include <matroska/KaxCues.h>
Expand Down

0 comments on commit a98025c

Please sign in to comment.