Skip to content

Commit

Permalink
Remove more unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
  • Loading branch information
ecdye committed Nov 7, 2024
1 parent 9227b27 commit 7930cce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Sources/macSubtitleOCR/MKV/EBML/EBML.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ enum EBML {
static let segmentID: UInt32 = 0x1853_8067
static let simpleBlock: UInt32 = 0xA3
static let timestamp: UInt32 = 0xE7
static let timestampScale: UInt32 = 0x2AD7B1
static let tracksID: UInt32 = 0x1654_AE6B
static let trackEntryID: UInt32 = 0xAE
static let trackTypeID: UInt32 = 0x83
Expand Down
1 change: 0 additions & 1 deletion Sources/macSubtitleOCR/MKV/MKVHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func encodePTSForVobSub(from timestamp: UInt64) -> [UInt8] {

// Calculate the absolute timestamp with 90 kHz accuracy
func calculateAbsolutePTS(_ clusterTimestamp: Int64, _ blockTimestamp: Int64) -> UInt64 {
// The block timestamp is relative, so we add it to the cluster timestamp
UInt64(clusterTimestamp + blockTimestamp) * 90
}

Expand Down

0 comments on commit 7930cce

Please sign in to comment.