aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-28 03:21:03 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-28 03:21:03 +0100
commitce9eb140ab9243d1c87ace4727a82b7fa50f964b (patch)
treeb64da94ba58f72a2371cdd8644dc48a178b7d260 /common/src
parentb514ec8cea2c2143e0bd7a0eb377c96a6f091d0d (diff)
downloadjellything-ce9eb140ab9243d1c87ace4727a82b7fa50f964b.tar
jellything-ce9eb140ab9243d1c87ace4727a82b7fa50f964b.tar.bz2
jellything-ce9eb140ab9243d1c87ace4727a82b7fa50f964b.tar.zst
fix yet another fundamental issue in the ebml reader and seekindex.
Diffstat (limited to 'common/src')
-rw-r--r--common/src/seek_index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/seek_index.rs b/common/src/seek_index.rs
index fb41b40..d58cd15 100644
--- a/common/src/seek_index.rs
+++ b/common/src/seek_index.rs
@@ -18,7 +18,7 @@ pub struct SeekIndex {
pub struct BlockIndex {
pub pts: u64,
// pub duration: Option<u64>,
- pub source_off: usize,
+ pub source_off: u64, // points to start of SimpleBlock or BlockGroup (not the Block inside it)
pub size: usize,
}