mirror of https://bitbucket.org/ausocean/av.git
container/mts/mpegts.go: removed unused const
This commit is contained in:
parent
1e7d3508e3
commit
9dcf866162
|
@ -35,11 +35,7 @@ import (
|
|||
"github.com/Comcast/gots/packet"
|
||||
)
|
||||
|
||||
// General mpegts packet properties.
|
||||
const (
|
||||
PacketSize = 188
|
||||
MaxPayloadSize = 176
|
||||
)
|
||||
const PacketSize = 188
|
||||
|
||||
// Program ID for various types of ts packets.
|
||||
const (
|
||||
|
@ -257,7 +253,6 @@ func (p *Packet) Bytes(buf []byte) []byte {
|
|||
return buf
|
||||
}
|
||||
|
||||
|
||||
func asInt(b bool) int {
|
||||
if b {
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue