From e7a02a818f94ba5d9ce7fd40a2af12ea2caa40af Mon Sep 17 00:00:00 2001 From: Trek H Date: Thu, 12 Sep 2019 21:29:40 +0930 Subject: [PATCH] mts: fixed type conversion --- container/mts/encoder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/mts/encoder.go b/container/mts/encoder.go index 9bc2ca44..3249ce56 100644 --- a/container/mts/encoder.go +++ b/container/mts/encoder.go @@ -168,7 +168,7 @@ func NewEncoder(dst io.WriteCloser, rate float64, mediaType int) *Encoder { Pil: 0, Essd: &psi.ESSD{ St: byte(sid), - Epid: byte(mPid), + Epid: uint16(mPid), Esil: 0x00, }, }