From ce9eb140ab9243d1c87ace4727a82b7fa50f964b Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 28 Jan 2024 03:21:03 +0100 Subject: fix yet another fundamental issue in the ebml reader and seekindex. --- remuxer/src/import/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remuxer/src/import/mod.rs') diff --git a/remuxer/src/import/mod.rs b/remuxer/src/import/mod.rs index 2981cea..d6fa2d0 100644 --- a/remuxer/src/import/mod.rs +++ b/remuxer/src/import/mod.rs @@ -9,7 +9,7 @@ use jellycommon::{Chapter, LocalTrack, SourceTrack, SourceTrackKind}; use jellymatroska::{ matroska::MatroskaTag, read::EbmlReader, - unflatten::{IterWithPos, Unflat, Unflatten}, + unflatten::{Unflat, Unflatten}, }; use log::{debug, error, info, warn}; use std::{path::PathBuf, time::Instant}; @@ -30,7 +30,7 @@ pub struct MatroskaMetadata { pub fn import_metadata(input: &mut EbmlReader) -> Result { while let Some(item) = input.next() { let item = match item { - Ok(item) => item, + Ok((_, item)) => item, Err(e) => { if !matches!(e, jellymatroska::error::Error::Io(_)) { warn!("{e}"); -- cgit v1.2.3-70-g09d2