1
0
Fork 0
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:
TamDik 2022-06-03 14:21:48 +09:00 committed by GitHub
parent 21afff228c
commit cc9bf192fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(),