Merged in config/ctrlCctrlV (pull request #31)

revid: fix incorrect assignment
This commit is contained in:
kortschak 2018-06-13 05:25:35 +00:00
commit b72d9bdd0d
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ func (c *Config) Validate(r *Revid) error {
if c.FramesPerClip == "" {
r.Log(Warning, "No FramesPerClip defined defined, defaulting to 1!")
c.Width = defaultFramesPerClip
c.FramesPerClip = defaultFramesPerClip
} else {
if integer, err := strconv.Atoi(c.FramesPerClip); integer <= 0 || err != nil {
return errors.New("Bad width defined in config!")