aboutsummaryrefslogtreecommitdiff
path: root/remuxer/src/segment_extractor.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-10 15:28:36 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-10 15:28:36 +0200
commit05d11426a8e60fa060733eb8ae7843bc2ae9725c (patch)
tree57cfad9cedf1eb50de193f1657b42234745c044e /remuxer/src/segment_extractor.rs
parentc0365c8c64f403fd9ee75c0db1a9ed6134633e8f (diff)
downloadjellything-05d11426a8e60fa060733eb8ae7843bc2ae9725c.tar
jellything-05d11426a8e60fa060733eb8ae7843bc2ae9725c.tar.bz2
jellything-05d11426a8e60fa060733eb8ae7843bc2ae9725c.tar.zst
apply many clippy issue
Diffstat (limited to 'remuxer/src/segment_extractor.rs')
-rw-r--r--remuxer/src/segment_extractor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/remuxer/src/segment_extractor.rs b/remuxer/src/segment_extractor.rs
index 2a12802..ca9e90f 100644
--- a/remuxer/src/segment_extractor.rs
+++ b/remuxer/src/segment_extractor.rs
@@ -18,7 +18,7 @@ impl<'a> SegmentExtractIter<'a> {
}
/// Returns the next block and sometimes its duration too.
- pub fn next(&mut self) -> Result<(Block, Option<u64>)> {
+ pub fn next_block(&mut self) -> Result<(Block, Option<u64>)> {
let mut duration = None;
let mut group = false;
let mut saved_block = None;