Merge pull request #16 from wader/all-ftyp

Parse all ftyp:s as mp4
This commit is contained in:
David Howden 2015-12-29 13:25:45 +11:00
commit dc1f3d7b51

2
tag.go
View File

@ -46,7 +46,7 @@ func ReadFrom(r io.ReadSeeker) (Metadata, error) {
case string(b[0:4]) == "OggS":
return ReadOGGTags(r)
case string(b[4:11]) == "ftypM4A":
case string(b[4:8]) == "ftyp":
return ReadAtoms(r)
case string(b[0:3]) == "ID3":