Update prev in IndexPid.

This commit is contained in:
scruzin 2019-07-11 14:54:06 +09:30
parent feea069758
commit b1e5890554
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ func IndexPid(d []byte, pids ...uint16) (idx int, m map[string]string, err error
err = errors.Wrap(err, "PIDs not consecutive")
return
}
prev = i
}
return
}