diff --git a/stream/mts/encoder.go b/stream/mts/encoder.go index 833c18d9..cc4a699a 100644 --- a/stream/mts/encoder.go +++ b/stream/mts/encoder.go @@ -257,9 +257,8 @@ func (e *Encoder) ccFor(pid int) byte { // updateMeta ... func updateMeta(b *[]byte) error { - m := Meta.Encode() p := psi.PSIBytes(*b) - err := p.AddDescriptor(psi.MetadataTag, m) + err := p.AddDescriptor(psi.MetadataTag, Meta.Encode()) *b = []byte(p) return err }