From a841d33019c20b6f8cfb7dc316d53aa277dad479 Mon Sep 17 00:00:00 2001 From: Xavier Henner Date: Wed, 20 May 2015 11:47:56 +0200 Subject: [PATCH] bad return value (used to read 10 bytes at a time) --- mp3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp3.go b/mp3.go index 87985ec..2746aa5 100644 --- a/mp3.go +++ b/mp3.go @@ -158,7 +158,7 @@ func (h *mp3Infos) readHeader(buf [8]byte) int64 { // if the values are off, try 1 byte after if l == 0 || b == 15 || v == 1 || b == 0 || s == 3 { - return 11 + return 5 } if h.Version == "" {