bad return value (used to read 10 bytes at a time)

This commit is contained in:
Xavier Henner 2015-05-20 11:47:56 +02:00
parent 177ffdce07
commit a841d33019

2
mp3.go
View File

@ -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 == "" {