diff --git a/container/mts/mpegts_test.go b/container/mts/mpegts_test.go index 9efdfbfc..67670de9 100644 --- a/container/mts/mpegts_test.go +++ b/container/mts/mpegts_test.go @@ -104,9 +104,9 @@ func TestFindPid(t *testing.T) { // Prepare the stream of packets. var stream []byte for i := 0; i < numOfPackets; i++ { - pid := uint16(0) + pid := uint16(stdPid) if i == targetPacketNum { - pid = 1 + pid = targetPid } p := Packet{