diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index b4036865..c0646622 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -1847,8 +1847,10 @@ func C_RTMP_ReadPacket(r *C.RTMP, packet *C.RTMPPacket) int32 { if nSize == 11 { // 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)))) + //packet.m_nInfoField2 = C.int32_t(C.DecodeInt32LE((*C.char)(incBytePtr( + //unsafe.Pointer(header), 7)))) } } }