container/mts/mpegts.go: removed unused const

This commit is contained in:
Saxon 2019-05-08 00:06:05 +09:30
parent 1e7d3508e3
commit 9dcf866162
1 changed files with 5 additions and 10 deletions

View File

@ -35,11 +35,7 @@ import (
"github.com/Comcast/gots/packet" "github.com/Comcast/gots/packet"
) )
// General mpegts packet properties. const PacketSize = 188
const (
PacketSize = 188
MaxPayloadSize = 176
)
// Program ID for various types of ts packets. // Program ID for various types of ts packets.
const ( const (
@ -257,7 +253,6 @@ func (p *Packet) Bytes(buf []byte) []byte {
return buf return buf
} }
func asInt(b bool) int { func asInt(b bool) int {
if b { if b {
return 1 return 1