rtmp: removed check to see if byte slice length is less that 0 - which doesn't happen

This commit is contained in:
saxon 2018-09-02 12:27:25 +09:30
parent 9b152f0495
commit 6da0967b80
1 changed files with 0 additions and 3 deletions

View File

@ -2189,9 +2189,6 @@ func C_RTMP_Write(r *C_RTMP, buf []byte) int {
return -1
}
buf = buf[4:]
if len(buf) < 0 {
break
}
}
}
return size + len(buf)