qrtplib: restored new operator

This commit is contained in:
f4exb
2018-02-27 02:44:27 +01:00
parent ed2f348bfa
commit 8c1293e213
23 changed files with 69 additions and 69 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ int RTPPacket::BuildPacket(uint8_t payloadtype,const void *payloaddata,size_t pa
if (buffer == 0)
{
packet = RTPNew(GetMemoryManager(),RTPMEM_TYPE_BUFFER_RTPPACKET) uint8_t [packetlength];
packet = new uint8_t [packetlength];
if (packet == 0)
{
packetlength = 0;