mirror of https://bitbucket.org/ausocean/av.git
Merged in revid/nilcheck (pull request #33)
revid: fix nil dereference on RTMP reconnect
This commit is contained in:
commit
4c0d219fbf
|
@ -403,7 +403,9 @@ func (r *Revid) outputClips() {
|
||||||
|
|
||||||
r.Log(Debug, "Trying to send again with new connection...")
|
r.Log(Debug, "Trying to send again with new connection...")
|
||||||
err = r.destination.send()
|
err = r.destination.send()
|
||||||
r.Log(Error, err.Error())
|
if err != nil {
|
||||||
|
r.Log(Error, err.Error())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue