Added output for invalid file types (#18)

* reordered ffmpeg params to fix issue #16

* added a message for invalid input file type
This commit is contained in:
Kaden5480 2021-04-21 18:43:55 +01:00 committed by GitHub
parent c4ed04b7e9
commit 6ab4d58f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,9 +187,11 @@ func initCommand(inputFile string, mode string) {
fmt.Println("completed task.")
os.Remove(out)
} else if inputFile == "no input file provided" {
return
} else {
if inputFile == "no input file provided" {
return
}
}
fmt.Println("incompatible input file")
}
}