diff --git a/stream/mts/psi/op.go b/stream/mts/psi/op.go index e08d64d5..e78cdac7 100644 --- a/stream/mts/psi/op.go +++ b/stream/mts/psi/op.go @@ -106,9 +106,6 @@ func LocationFrom(p []byte) (g string, err error) { // LocationStrBytes take a string of location data and converts to a 32 byte slice - // easy update of slice representation of a pmt with location descriptor func LocationStrBytes(s string) []byte { - if len(s) != locationDataSize { - panic("Location string not the right size") - } var b [locationDataSize]byte copy(b[:], s) return b[:]