exp/ts-repair: fix assignment

This commit is contained in:
Dan Kortschak 2019-02-09 22:12:55 +10:30
parent 073678f190
commit 46ab4b200e
1 changed files with 1 additions and 4 deletions

View File

@ -209,10 +209,7 @@ func main() {
packetNo++
// Get the pid from the packet
pid, err := packet.Pid((*packet.Packet)(&p))
if err != nil {
panic(errCantGetPid)
}
pid := packet.Pid((*packet.Packet)(&p))
// Get the cc from the packet and also the expected cc (if exists)
cc := p.CC()