mirror of https://bitbucket.org/ausocean/av.git
About to try and build
This commit is contained in:
parent
4415d2c089
commit
ea14c4989b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue