container/mts/mpegts.go: added comment for global error vars used by FindPid

This commit is contained in:
Saxon 2019-07-04 14:34:34 +09:30
parent 866aa6bef3
commit 5bbb8d01f2
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ func FindPat(d []byte) ([]byte, int, error) {
return FindPid(d, PatPid)
}
// Errors used by FindPid.
var (
errInvalidLen = errors.New("MPEG-TS data not of valid length")
errCouldNotFind = errors.New("could not find packet with given PID")