mts: fixed type conversion

This commit is contained in:
Trek H 2019-09-12 21:29:40 +09:30
parent 2c7e28206d
commit e7a02a818f
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ func NewEncoder(dst io.WriteCloser, rate float64, mediaType int) *Encoder {
Pil: 0, Pil: 0,
Essd: &psi.ESSD{ Essd: &psi.ESSD{
St: byte(sid), St: byte(sid),
Epid: byte(mPid), Epid: uint16(mPid),
Esil: 0x00, Esil: 0x00,
}, },
} }