Seek over next_item_id instead of reading it.

This commit is contained in:
David Howden 2015-06-30 08:57:03 +10:00
parent 6d208fee69
commit 6021704ba3

2
sum.go
View File

@ -70,7 +70,7 @@ func SumAtoms(r io.ReadSeeker) (string, error) {
switch name {
case "meta":
// next_item_id (int32)
_, err := readBytes(r, 4)
_, err := r.Seek(4, os.SEEK_CUR)
if err != nil {
return "", err
}