Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfish-shogi committed Nov 15, 2020
1 parent 88b74b8 commit 0991583
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mp4tool/mp4dump/mp4dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion mp4tool/mp4edit/mp4edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion mp4tool/psshdump/psshdump.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0991583

Please sign in to comment.