From cc9bf192fae038f48880d83d9bb438d2cc4fe0dc Mon Sep 17 00:00:00 2001 From: TamDik Date: Fri, 3 Jun 2022 14:21:48 +0900 Subject: [PATCH] Fix code example (#75) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84cac15..0390b3e 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ fn main() -> Result<()> { println!("duration: {:?}", mp4.duration()); // Track info. - for track in mp4.tracks().iter() { + for track in mp4.tracks().values() { println!( "track: #{}({}) {} : {}", track.track_id(),