mirror of https://bitbucket.org/ausocean/av.git
revid: fixed destination slice bug
This commit is contained in:
parent
ca0a008c59
commit
f1625d27f5
|
@ -213,7 +213,7 @@ func (r *Revid) reset(config Config) error {
|
|||
}
|
||||
}
|
||||
|
||||
r.destination = make([]loadSender, len(r.config.Outputs))
|
||||
r.destination = make([]loadSender, 0, len(r.config.Outputs))
|
||||
for _, typ := range r.config.Outputs {
|
||||
switch typ {
|
||||
case File:
|
||||
|
|
Loading…
Reference in New Issue