stream/mts/encoder.go: finished comment for updateMeta function

This commit is contained in:
saxon 2019-02-04 22:17:39 +10:30
parent 1570974ab7
commit 0a96d18a10
1 changed files with 2 additions and 1 deletions

View File

@ -251,7 +251,8 @@ func (e *Encoder) ccFor(pid int) byte {
return cc return cc
} }
// updateMeta ... // updateMeta adds/updates a metaData descriptor in the given psi bytes using data
// contained in the global Meta struct.
func updateMeta(b *[]byte) error { func updateMeta(b *[]byte) error {
p := psi.PSIBytes(*b) p := psi.PSIBytes(*b)
err := p.AddDescriptor(psi.MetadataTag, Meta.Encode()) err := p.AddDescriptor(psi.MetadataTag, Meta.Encode())