diff --git a/experimentation/ts-repair/main.go b/experimentation/ts-repair/main.go index bed81f19..97c350f6 100644 --- a/experimentation/ts-repair/main.go +++ b/experimentation/ts-repair/main.go @@ -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()