Skip to content

Commit

Permalink
use the regular constructor for KaxTrackEntry
Browse files Browse the repository at this point in the history
We don't do anything more than the default ones.
  • Loading branch information
robUx4 committed Jan 14, 2024
1 parent 1b940e9 commit 00337a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/KaxSemantic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ DEFINE_SEMANTIC_ITEM(false, true, KaxTrickMasterTrackSegmentUID)
DEFINE_SEMANTIC_ITEM(false, true, KaxContentEncodings)
DEFINE_END_SEMANTIC(KaxTrackEntry)

DEFINE_MKX_MASTER_CONS(KaxTrackEntry, 0xAE, 1, KaxTracks, false, "TrackEntry", VERSION_ALL_MATROSKA)
DEFINE_MKX_MASTER(KaxTrackEntry, 0xAE, 1, KaxTracks, false, "TrackEntry", VERSION_ALL_MATROSKA)
DEFINE_MKX_UINTEGER(KaxTrackNumber, 0xD7, 1, KaxTrackEntry, "TrackNumber", VERSION_ALL_MATROSKA)
DEFINE_MKX_UINTEGER(KaxTrackUID, 0x73C5, 2, KaxTrackEntry, "TrackUID", VERSION_ALL_MATROSKA)
DEFINE_MKX_UINTEGER(KaxTrackType, 0x83, 1, KaxTrackEntry, "TrackType", VERSION_ALL_MATROSKA)
Expand Down
4 changes: 0 additions & 4 deletions src/KaxTracks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ using namespace libebml;

namespace libmatroska {

KaxTrackEntry::KaxTrackEntry()
:EbmlMaster(KaxTrackEntry::ClassInfos)
{}

void KaxTrackEntry::EnableLacing(bool bEnable)
{
auto & myLacing = GetChild<KaxTrackFlagLacing>(*this);
Expand Down

0 comments on commit 00337a8

Please sign in to comment.