diff --git a/revid/revid.go b/revid/revid.go index d509c6bb..62e22d64 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -490,7 +490,6 @@ func (r *Revid) startRaspivid() error { // setupInputForFile sets things up for getting input from a file func (r *Revid) setupInputForFile() error { delay := time.Second / time.Duration(r.config.FrameRate) - f, err := os.Open(r.config.InputFileName) if err != nil { r.config.Logger.Log(logger.Error, err.Error())