Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfish-shogi committed Apr 6, 2024
1 parent 37eb589 commit 7ed07b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ _, err = mp4.ReadBoxStructure(r, func(h *mp4.ReadHandle) (interface{}, error) {
```

Please note that the above sample code doesn't work for some MP4 files.
If your MP4 files includes specific box types (ex. stco, mfra), you should update those when offsets of mdat box changed.
If your MP4 files include specific box types (ex. stco, mfra), you should update those when offsets of mdat box changed.
Next sample code adds an metadata box and updates chunk offsets in scto boxes.

[Sample Code: Insert Metadata and Update stco box](https://gist.github.com/sunfish-shogi/cccde016a38c66d32c07a0234368804e)
Expand Down

0 comments on commit 7ed07b3

Please sign in to comment.