mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: removing shorthand initialisations for vars already declared
This commit is contained in:
parent
87cb303935
commit
ccb8a52db1
|
@ -148,7 +148,7 @@ func (p *packer) Write(frame []byte) (int, error) {
|
||||||
var n int
|
var n int
|
||||||
var err error
|
var err error
|
||||||
if len(p.owner.destination) != 0 {
|
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
|
// If we have an rtp sender bypass ringbuffer and give straight to sender
|
||||||
|
|
Loading…
Reference in New Issue