From 5e705f793e624bc780a19aafeffffc9822ba1d26 Mon Sep 17 00:00:00 2001 From: Saxon Date: Wed, 8 May 2019 00:09:42 +0930 Subject: [PATCH] container/mts/mpegts_test.go: using consts where I should be --- container/mts/mpegts_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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{