revid/revid.go: in Revid.Start() if errors occurs on call to Revid.setupInput() fall through error check and return err

This commit is contained in:
Saxon 2019-05-06 15:54:33 +09:30
parent 4c080e9288
commit 5c40c48e97
1 changed files with 1 additions and 2 deletions

View File

@ -294,9 +294,8 @@ func (r *Revid) Start() error {
r.closeInput, err = r.setupInput()
if err != nil {
r.Stop()
return fmt.Errorf("could not setup input, failed with err: %v", err)
}
return nil
return err
}
// Stop closes down the pipeline. This closes encoders and sender output routines,