mirror of https://bitbucket.org/ausocean/av.git
Removed redundant else, to further abide by go style standards
This commit is contained in:
parent
9b779382eb
commit
98cd4ff9ac
|
@ -264,7 +264,7 @@ func input(input string, output string) {
|
||||||
if clip, err := ringBuffer.Get(); err != nil {
|
if clip, err := ringBuffer.Get(); err != nil {
|
||||||
inputErrChan <- err
|
inputErrChan <- err
|
||||||
return
|
return
|
||||||
} else {
|
}
|
||||||
for {
|
for {
|
||||||
upperBound := clipSize+mp2tPacketSize
|
upperBound := clipSize+mp2tPacketSize
|
||||||
_, err := io.ReadFull(br, clip[clipSize:upperBound])
|
_, err := io.ReadFull(br, clip[clipSize:upperBound])
|
||||||
|
@ -293,7 +293,6 @@ func input(input string, output string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// output handles the writing to specified output
|
// output handles the writing to specified output
|
||||||
|
|
Loading…
Reference in New Issue