Skip to content

Commit f593538

Browse files
Fix TableID assignment in PSISection (#73)
* Fix TableID assignment in PSISection * remove unnecessary type conversion
1 parent eb293e7 commit f593538

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

muxer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ func (m *Muxer) generatePAT() error {
343343
Header: &PSISectionHeader{
344344
SectionLength: calcPATSectionLength(d),
345345
SectionSyntaxIndicator: true,
346-
TableID: PSITableID(d.TransportStreamID),
346+
TableID: PSITableIDPAT,
347347
},
348348
Syntax: syntax,
349349
}

0 commit comments

Comments
 (0)