mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
qrtplib: restored new operator
This commit is contained in:
@@ -111,7 +111,7 @@ int RTCPPacketBuilder::BuildNextPacket(RTCPCompoundPacket **pack)
|
||||
|
||||
*pack = 0;
|
||||
|
||||
rtcpcomppack = RTPNew(GetMemoryManager(),RTPMEM_TYPE_CLASS_RTCPCOMPOUNDPACKETBUILDER) RTCPCompoundPacketBuilder(GetMemoryManager());
|
||||
rtcpcomppack = new RTCPCompoundPacketBuilder(GetMemoryManager());
|
||||
if (rtcpcomppack == 0)
|
||||
return ERR_RTP_OUTOFMEM;
|
||||
|
||||
@@ -634,7 +634,7 @@ int RTCPPacketBuilder::BuildBYEPacket(RTCPCompoundPacket **pack,const void *reas
|
||||
|
||||
*pack = 0;
|
||||
|
||||
rtcpcomppack = RTPNew(GetMemoryManager(),RTPMEM_TYPE_CLASS_RTCPCOMPOUNDPACKETBUILDER) RTCPCompoundPacketBuilder(GetMemoryManager());
|
||||
rtcpcomppack = new RTCPCompoundPacketBuilder(GetMemoryManager());
|
||||
if (rtcpcomppack == 0)
|
||||
return ERR_RTP_OUTOFMEM;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user