diff options
Diffstat (limited to 'matroska')
-rw-r--r-- | matroska/src/unflatten.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/matroska/src/unflatten.rs b/matroska/src/unflatten.rs index e220689..ee1a8d9 100644 --- a/matroska/src/unflatten.rs +++ b/matroska/src/unflatten.rs @@ -42,6 +42,9 @@ impl<'a> Unflatten<'a> { end: Some(MatroskaTag::construct_master(start.id(), Master::End).unwrap()), } } + pub fn exit_dirty(&mut self) { + self.stop = true; + } pub fn position(&self) -> usize { self.inner.position() |