From 624bf79a6ec66462c868ce386e7924617fbb3b0e Mon Sep 17 00:00:00 2001 From: Trek H Date: Wed, 31 Mar 2021 21:00:00 +1030 Subject: [PATCH] mts: expand on comment --- container/mts/mpegts.go | 1 + 1 file changed, 1 insertion(+) diff --git a/container/mts/mpegts.go b/container/mts/mpegts.go index 2be1841b..68565078 100644 --- a/container/mts/mpegts.go +++ b/container/mts/mpegts.go @@ -378,6 +378,7 @@ func asByte(b bool) byte { // GotsPacket takes a byte slice and returns a Packet as defined in github.com/comcast/gots/packet. // TODO: replace this with a type conversion as described here: https://github.com/golang/go/issues/395 +// when it becomes available in Go 1.17. func GotsPacket(b []byte) *packet.Packet { if len(b) != packet.PacketSize { panic("invalid packet size")