About to try and build

This commit is contained in:
saxon 2018-07-11 14:26:07 +09:30
parent 4415d2c089
commit ea14c4989b
1 changed files with 1 additions and 3 deletions

View File

@ -46,8 +46,6 @@ import (
"strconv"
"unsafe"
"log"
"bitbucket.org/ausocean/av/tools"
)
const (
@ -204,7 +202,7 @@ func (s *session) rtmpWrite(r *C.RTMP, buf []byte) int {
ret = int(C.RTMP_SendPacket(r, pkt, 0))
C.RTMPPacket_Free(pkt)
pkt.m_nBytesRead = 0
if !tools.IntToBool(ret) {
if ret == 0 {
return -1
}
// buf += 4