Skip to content

Commit cc9bf19

Browse files
authored
Fix code example (#75)
1 parent 21afff2 commit cc9bf19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() -> Result<()> {
4242
println!("duration: {:?}", mp4.duration());
4343

4444
// Track info.
45-
for track in mp4.tracks().iter() {
45+
for track in mp4.tracks().values() {
4646
println!(
4747
"track: #{}({}) {} : {}",
4848
track.track_id(),

0 commit comments

Comments
 (0)