mirror of
https://github.com/alfg/mp4-rust.git
synced 2024-11-14 11:11:16 +00:00
Fix code example (#75)
This commit is contained in:
parent
21afff228c
commit
cc9bf192fa
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue