mirror of https://bitbucket.org/ausocean/av.git
container/mts/mpegts.go: added comment for global error vars used by FindPid
This commit is contained in:
parent
866aa6bef3
commit
5bbb8d01f2
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue