rtmp: changed data slice to buf to simplify

This commit is contained in:
saxon 2018-09-02 10:19:29 +09:30
parent e861420e69
commit 269c8176a1
1 changed files with 1 additions and 1 deletions

View File

@ -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