Removed redundant else, to further abide by go style standards

This commit is contained in:
Saxon1 2017-12-03 02:45:33 +10:30
parent 9b779382eb
commit 98cd4ff9ac
1 changed files with 23 additions and 24 deletions

View File

@ -264,7 +264,7 @@ func input(input string, output string) {
if clip, err := ringBuffer.Get(); err != nil {
inputErrChan <- err
return
} else {
}
for {
upperBound := clipSize+mp2tPacketSize
_, err := io.ReadFull(br, clip[clipSize:upperBound])
@ -294,7 +294,6 @@ func input(input string, output string) {
}
}
}
}
// output handles the writing to specified output
func output(output string) {