Parse all ftyp:s as mp4

It seems audio only mp4 files use ftyp:s that should have video
This commit is contained in:
Mattias Wadman 2015-12-28 21:34:48 +01:00
parent c259675f29
commit f26c1533ee

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":