Skip to content

Commit

Permalink
Separately define webm.Seek struct (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Dec 6, 2019
1 parent c43e049 commit e612199
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions webm/webm.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ type EBMLHeader struct {
DocTypeReadVersion uint64 `ebml:"EBMLDocTypeReadVersion"`
}

// Seek represents Seek element struct
type Seek struct {
SeekID []byte `ebml:"SeekID"`
SeekPosition uint64 `ebml:"SeekPosition"`
}

// SeekHead represents SeekHead element struct
type SeekHead struct {
Seek []struct {
SeekID []byte `ebml:"SeekID"`
SeekPosition uint64 `ebml:"SeekPosition"`
} `ebml:"Seek"`
Seek []Seek `ebml:"Seek"`
}

// Info represents Info element struct
Expand Down

0 comments on commit e612199

Please sign in to comment.