From 00cce1510259dffd61e7dda5c3ce26909ee81b41 Mon Sep 17 00:00:00 2001 From: David Howden Date: Tue, 30 Jun 2015 23:05:59 +1000 Subject: [PATCH] Remove unnecessary recursion. --- sum.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sum.go b/sum.go index abcd5b7..4fb5fa1 100644 --- a/sum.go +++ b/sum.go @@ -78,7 +78,7 @@ func SumAtoms(r io.ReadSeeker) (string, error) { fallthrough case "moov", "udta", "ilst": - return SumAtoms(r) + continue case "mdat": // stop when we get to the data h := sha1.New()