Skip to content

Commit

Permalink
test: add ludt test
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaowillow committed Sep 5, 2023
1 parent 66fa3e4 commit 4cf33ea
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mp4/ludt_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package mp4

import (
"encoding/hex"
"testing"
)

func TestLudt(t *testing.T) {
ludtBox := `0000002c6c75647400000024746c6f75010000000100000043f43e2305017923037a13047c13057a13060113`
data, err := hex.DecodeString(ludtBox)
if err != nil {
t.Error(err)
}
cmpAfterDecodeEncodeBox(t, data)
}
Binary file removed mp4/testdata/ludt.mp4
Binary file not shown.

0 comments on commit 4cf33ea

Please sign in to comment.