mirror of https://bitbucket.org/ausocean/av.git
Cleaned up further
This commit is contained in:
parent
391c9a538e
commit
8ab61598a9
|
@ -206,6 +206,8 @@ func rtmpWrite(r *C.RTMP, data []byte) int {
|
||||||
*(*byte)(enc) = *(*byte)(buf)
|
*(*byte)(enc) = *(*byte)(buf)
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
// TODO: Can only remove this mem copy onc I port the RTMPPacket struct and
|
||||||
|
// AllocatPacket
|
||||||
C.memcpy(enc,buf,C.ulong(num))
|
C.memcpy(enc,buf,C.ulong(num))
|
||||||
pkt.m_nBytesRead += C.uint(num)
|
pkt.m_nBytesRead += C.uint(num)
|
||||||
s2 -= num
|
s2 -= num
|
||||||
|
|
Loading…
Reference in New Issue