diff --git a/revid/senders.go b/revid/senders.go index 5a20b94b..65374fd2 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -159,11 +159,11 @@ func (s *mtsSender) failed() { // fixAndSend uses the discontinuity repairer to ensure there is not a // discontinuity, and if so sets the discontinuity indicator of the PAT packet. func (s *mtsSender) fixAndSend() error { - err := s.repairer.Repair(s.chunk.Bytes()) + err := s.repairer.Repair(s.buf) if err != nil { return err } - err = s.ls.load(s.chunk) + err = s.ls.load(ring.NewChunk(s.buf)) if err != nil { return err }