From 6d208fee6909ade3bcd5885082a30960d7249915 Mon Sep 17 00:00:00 2001 From: David Howden Date: Tue, 30 Jun 2015 08:56:21 +1000 Subject: [PATCH] Remove unnecessary case in SumAtoms. --- sum.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sum.go b/sum.go index 789be46..f693fd9 100644 --- a/sum.go +++ b/sum.go @@ -79,13 +79,6 @@ func SumAtoms(r io.ReadSeeker) (string, error) { case "moov", "udta", "ilst": return SumAtoms(r) - case "free": - _, err = r.Seek(int64(size-8), os.SEEK_CUR) - if err != nil { - return "", fmt.Errorf("error reading 'free' space: %v", err) - } - continue - case "mdat": // stop when we get to the data b, err := readBytes(r, int(size-8)) if err != nil {