revid/revid.go: removing shorthand initialisations for vars already declared

This commit is contained in:
Saxon Milton 2019-02-06 05:28:57 +00:00
parent 87cb303935
commit ccb8a52db1
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ func (p *packer) Write(frame []byte) (int, error) {
var n int
var err error
if len(p.owner.destination) != 0 {
n, err := p.owner.buffer.Write(frame)
n, err = p.owner.buffer.Write(frame)
}
// If we have an rtp sender bypass ringbuffer and give straight to sender