Skip to content

Commit

Permalink
remove deprecated KaxCodeDate string
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Mar 2, 2024
1 parent a98025c commit 471da3a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion matroska/KaxVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace libmatroska {
#define LIBMATROSKA_VERSION 0x020000

extern const MATROSKA_DLL_API std::string KaxCodeVersion;
extern const MATROSKA_DLL_API std::string KaxCodeDate;

/*!
\todo Improve the CRC/ECC system (backward and forward possible ?) to fit streaming/live writing/simple reading
Expand Down
5 changes: 0 additions & 5 deletions src/KaxVersion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,4 @@ namespace libmatroska {

const std::string KaxCodeVersion = "2.0.0";

// Up to version 1.4.4 this library exported a build date string. As
// this made the build non-reproducible, replace it by a placeholder to
// remain binary compatible.
const std::string KaxCodeDate = "Unknown";

} // namespace libmatroska
2 changes: 1 addition & 1 deletion test/ebml/test00.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const char RW_FILENAME[] = "test.kax";
*/
int main(void)
{
printf("Test00 :\nEBML %s %s / Matroska %s %s\n", EbmlCodeVersion.c_str(), EbmlCodeDate.c_str(), KaxCodeVersion.c_str(), KaxCodeDate.c_str());
printf("Test00 :\nEBML %s / Matroska %s\n", EbmlCodeVersion.c_str(), KaxCodeVersion.c_str());
StdIOCallback Ebml_file(RW_FILENAME, ::MODE_CREATE);

///// Writing test
Expand Down

0 comments on commit 471da3a

Please sign in to comment.