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 086a78d commit ffc2144
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 @@ -113,7 +113,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 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.
Next sample code adds an metadata box and updates chunk offsets in stco boxes.

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

Expand Down

0 comments on commit ffc2144

Please sign in to comment.