aboutsummaryrefslogtreecommitdiff
path: root/cmd/mp4dump
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-02-13 11:52:40 +0100
committerOnur Gündüz <ogunduz@gmail.com>2026-02-13 11:52:40 +0100
commitb77eda22996be44ecb9c63f665c0acf1d6786821 (patch)
treeaee54821006521001ddb718e140c9ea87a907d78 /cmd/mp4dump
parentf4b35bb7f4475db77fa6969eb42964824f616fb0 (diff)
downloadmp4-b77eda22996be44ecb9c63f665c0acf1d6786821.tar.gz
mp4-b77eda22996be44ecb9c63f665c0acf1d6786821.zip
Add segment type and index boxes, and update CttsIter for version handling
Diffstat (limited to 'cmd/mp4dump')
-rw-r--r--cmd/mp4dump/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mp4dump/main.go b/cmd/mp4dump/main.go
index 0d42d18..ee7a577 100644
--- a/cmd/mp4dump/main.go
+++ b/cmd/mp4dump/main.go
@@ -209,7 +209,7 @@ func printBoxInfo(r *mp4.Reader) {
fmt.Printf(" entries=%d", it.Count())
case mp4.TypeCtts:
- it := mp4.NewCttsIter(r.Data())
+ it := mp4.NewCttsIter(r.Data(), r.Version())
fmt.Printf(" entries=%d", it.Count())
case mp4.TypeStsc: