Changed name of rtmpPacketIsReady to C_RTMP_PacketIsReady

This commit is contained in:
saxon 2018-08-07 12:30:59 +09:30
parent beb59bf8e7
commit 49a54bccf8
1 changed files with 2 additions and 2 deletions

View File

@ -1268,7 +1268,7 @@ func C_RTMP_ConnectStream(r *C.RTMP, seekTime int32) int {
C.RTMP_ReadPacket(r, &packet) != 0 { C.RTMP_ReadPacket(r, &packet) != 0 {
// TODO: port is ready // TODO: port is ready
if rtmpPacketIsReady(&packet) != 0 { if C_RTMP_PacketIsReady(&packet) != 0 {
if packet.m_nBodySize == 0 { if packet.m_nBodySize == 0 {
continue continue
} }
@ -1498,7 +1498,7 @@ func rtmpReadPacket(r *C.RTMP, packet *C.RTMPPacket) int32 {
return TRUE return TRUE
} }
func rtmpPacketIsReady(p *C.RTMPPacket) int { func C_RTMP_PacketIsReady(p *C.RTMPPacket) int {
if p.m_nBytesRead == p.m_nBodySize { if p.m_nBytesRead == p.m_nBodySize {
return 1 return 1
} }