From f26c1533eed37d8cda1f971e9e7a9aa383b39b6d Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Mon, 28 Dec 2015 21:34:48 +0100 Subject: [PATCH] Parse all ftyp:s as mp4 It seems audio only mp4 files use ftyp:s that should have video --- tag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag.go b/tag.go index dabfaee..96a70b8 100644 --- a/tag.go +++ b/tag.go @@ -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":