mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
PVS studio static analyzer fixes (1)
This commit is contained in:
@@ -111,8 +111,6 @@ int RTCPPacketBuilder::BuildNextPacket(RTCPCompoundPacket **pack)
|
||||
*pack = 0;
|
||||
|
||||
rtcpcomppack = new RTCPCompoundPacketBuilder();
|
||||
if (rtcpcomppack == 0)
|
||||
return ERR_RTP_OUTOFMEM;
|
||||
|
||||
if ((status = rtcpcomppack->InitBuild(maxpacketsize)) < 0)
|
||||
{
|
||||
@@ -640,8 +638,6 @@ int RTCPPacketBuilder::BuildBYEPacket(RTCPCompoundPacket **pack, const void *rea
|
||||
*pack = 0;
|
||||
|
||||
rtcpcomppack = new RTCPCompoundPacketBuilder();
|
||||
if (rtcpcomppack == 0)
|
||||
return ERR_RTP_OUTOFMEM;
|
||||
|
||||
if ((status = rtcpcomppack->InitBuild(maxpacketsize)) < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user