mirror of https://bitbucket.org/ausocean/av.git
rtmp: changed data slice to buf to simplify
This commit is contained in:
parent
e861420e69
commit
269c8176a1
|
@ -2112,7 +2112,7 @@ func C_RTMP_Write(r *C_RTMP, buf []byte) int {
|
||||||
// TODO: port RTMPPacket
|
// TODO: port RTMPPacket
|
||||||
var pkt = &r.m_write
|
var pkt = &r.m_write
|
||||||
var pend, enc []byte
|
var pend, enc []byte
|
||||||
size := len(data)
|
size := len(buf)
|
||||||
s2 := size
|
s2 := size
|
||||||
var ret, num int
|
var ret, num int
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue