mirror of https://bitbucket.org/ausocean/av.git
Using my C_DecodeInt32LE func - tested and working
This commit is contained in:
parent
d480f427c1
commit
e680fc76fa
|
@ -1847,8 +1847,10 @@ func C_RTMP_ReadPacket(r *C.RTMP, packet *C.RTMPPacket) int32 {
|
||||||
|
|
||||||
if nSize == 11 {
|
if nSize == 11 {
|
||||||
// TODO: port this
|
// TODO: port this
|
||||||
packet.m_nInfoField2 = C.int32_t(C.DecodeInt32LE((*C.char)(incBytePtr(
|
packet.m_nInfoField2 = C.int32_t(C_DecodeInt32LE((*byte)(incBytePtr(
|
||||||
unsafe.Pointer(header), 7))))
|
unsafe.Pointer(header), 7))))
|
||||||
|
//packet.m_nInfoField2 = C.int32_t(C.DecodeInt32LE((*C.char)(incBytePtr(
|
||||||
|
//unsafe.Pointer(header), 7))))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue