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"
|
"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
|
||||||
|
|
Loading…
Reference in New Issue