diff --git a/mp4tool/mp4dump/mp4dump.go b/mp4tool/mp4dump/mp4dump.go index 7ae8a78..ea8c1fa 100644 --- a/mp4tool/mp4dump/mp4dump.go +++ b/mp4tool/mp4dump/mp4dump.go @@ -132,7 +132,7 @@ func (m *mp4dump) dump(r io.ReadSeeker) error { return nil, err } - str, err := mp4.Stringify(box, &h.BoxInfo.BoxStructureStatus) + str, err := mp4.Stringify(box, h.BoxInfo.BoxStructureStatus) if err != nil { return nil, err } diff --git a/mp4tool/mp4edit/mp4edit.go b/mp4tool/mp4edit/mp4edit.go index 51fc4f1..1b0034c 100644 --- a/mp4tool/mp4edit/mp4edit.go +++ b/mp4tool/mp4edit/mp4edit.go @@ -108,7 +108,7 @@ func editFile(inputPath, outputPath string) error { } } - n, err := mp4.Marshal(outputFile, box, &bi.BoxStructureStatus) + n, err := mp4.Marshal(outputFile, box, bi.BoxStructureStatus) if err != nil { return nil, err } diff --git a/mp4tool/psshdump/psshdump.go b/mp4tool/psshdump/psshdump.go index f1acc55..f90203b 100644 --- a/mp4tool/psshdump/psshdump.go +++ b/mp4tool/psshdump/psshdump.go @@ -36,7 +36,7 @@ func dump(inputFilePath string) error { for i := range bs { pssh := bs[i].Payload.(*mp4.Pssh) - sysid, _ := pssh.StringifyField("SystemID", "", 0, &bs[i].Info.BoxStructureStatus) + sysid, _ := pssh.StringifyField("SystemID", "", 0, bs[i].Info.BoxStructureStatus) if _, err := bs[i].Info.SeekToStart(inputFile); err != nil { return err