diff --git a/stream/mts/psi/psi_test.go b/stream/mts/psi/psi_test.go index ccffbad1..afb361f5 100644 --- a/stream/mts/psi/psi_test.go +++ b/stream/mts/psi/psi_test.go @@ -135,7 +135,7 @@ var bytesTests = []struct { Pcrpid: 0x0100, // wrong Pil: 10, Pd: []Desc{ - Desc{ + { Dt: timeDescTag, Dl: timeDataSize, Dd: TimeBytes(tstTime1), @@ -170,12 +170,12 @@ var bytesTests = []struct { Pcrpid: 0x0100, // wrong Pil: 10, Pd: []Desc{ - Desc{ + { Dt: timeDescTag, Dl: timeDataSize, Dd: TimeBytes(tstTime2), }, - Desc{ + { Dt: locationDescTag, Dl: locationDataSize, Dd: LocationStrBytes(locationTstStr1), diff --git a/stream/mts/psi/std.go b/stream/mts/psi/std.go index 329f37cd..4fd9618c 100644 --- a/stream/mts/psi/std.go +++ b/stream/mts/psi/std.go @@ -92,12 +92,12 @@ var ( Pcrpid: 0x0100, Pil: pmtTimeLocationPil, Pd: []Desc{ - Desc{ + { Dt: timeDescTag, Dl: timeDataSize, Dd: make([]byte, timeDataSize), }, - Desc{ + { Dt: locationDescTag, Dl: locationDataSize, Dd: make([]byte, locationDataSize),