From ddf7a94ab87c7b7177decd9a4ced4e18558b1655 Mon Sep 17 00:00:00 2001 From: saxon Date: Tue, 8 Jan 2019 19:46:24 +1030 Subject: [PATCH] mts: made standard pat and pmt tables unexported --- stream/mts/encoder.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stream/mts/encoder.go b/stream/mts/encoder.go index abbc0fac..172a56e6 100644 --- a/stream/mts/encoder.go +++ b/stream/mts/encoder.go @@ -39,7 +39,7 @@ import ( // Some common manifestations of PSI var ( // PSI struct to represent basic PAT. - StandardPat = psi.PSI{ + standardPat = psi.PSI{ Pf: 0x00, Tid: 0x00, Ssi: true, @@ -59,7 +59,7 @@ var ( } // PSI struct to represent basic PMT without descriptors for time and location. - StandardPmt = psi.PSI{ + standardPmt = psi.PSI{ Pf: 0x00, Tid: 0x02, Ssi: true, @@ -83,7 +83,7 @@ var ( } // Standard PMT with time and location descriptors, time and location fields are zeroed out. - StandardPmtTimeLocation = psi.PSI{ + standardPmtTimeLocation = psi.PSI{ Pf: 0x00, Tid: 0x02, Ssi: true, @@ -140,8 +140,8 @@ func SetLocation(g string) { } var ( - patTable = StandardPat.Bytes() - pmtTable = StandardPmtTimeLocation.Bytes() + patTable = standardPat.Bytes() + pmtTable = standardPmtTimeLocation.Bytes() ) const (