stream/mts/mpegts.go: updated FindPMT comment

This commit is contained in:
saxon 2019-01-22 11:27:24 +10:30
parent ba209a1d7c
commit 6b4e0946dd
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ type Packet struct {
}
// FindPMT will take a clip of mpegts and try to find a PMT table - if one
// is found, then it is returned, otherwise nil and an error is returned.
// is found, then it is returned along with its index, otherwise nil, -1 and an error is returned.
func FindPMT(d []byte) (p []byte, i int, err error) {
if len(d) < PacketSize {
return nil, -1, errors.New("Mmpegts data not of valid length")