mirror of https://bitbucket.org/ausocean/av.git
container/mts/mpegts_test.go: using consts where I should be
This commit is contained in:
parent
bccd7c2762
commit
5e705f793e
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue