mirror of https://bitbucket.org/ausocean/av.git
mts: patTable and pmtTable in var block instead of init func now
This commit is contained in:
parent
cf4c44f4d5
commit
ac11b281c5
|
@ -36,11 +36,6 @@ import (
|
|||
"bitbucket.org/ausocean/av/stream/mts/psi"
|
||||
)
|
||||
|
||||
var (
|
||||
patTable []byte
|
||||
pmtTable []byte
|
||||
)
|
||||
|
||||
const (
|
||||
psiPacketSize = 184
|
||||
psiSendCount = 21
|
||||
|
@ -61,10 +56,10 @@ func SetLocation(g string) {
|
|||
metaData.location = g
|
||||
}
|
||||
|
||||
func init() {
|
||||
var (
|
||||
patTable = psi.StdPat.Bytes()
|
||||
pmtTable = psi.StdPmtTimeLocation.Bytes()
|
||||
}
|
||||
)
|
||||
|
||||
const (
|
||||
sdtPid = 17
|
||||
|
|
Loading…
Reference in New Issue