fixed config outputs defaulting bug

This commit is contained in:
Saxon 2019-05-12 01:57:38 +09:30
parent 11ad16dbe1
commit dc0ecf712d
1 changed files with 0 additions and 4 deletions

View File

@ -193,10 +193,6 @@ func handleFlags() revid.Config {
log.Log(logger.Error, pkg+"bad input codec argument")
}
if len(outputs) == 0 {
cfg.Outputs = make([]uint8, 1)
}
for _, o := range outputs {
switch o {
case "File":