[Opalvoip-svn] SF.net SVN: opalvoip:[33595] opal/trunk/src/rtp/rtp.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2015-05-12 06:53:03
|
Revision: 33595 http://sourceforge.net/p/opalvoip/code/33595 Author: rjongbloed Date: 2015-05-12 06:53:00 +0000 (Tue, 12 May 2015) Log Message: ----------- Fixed RTP_ControlFrame::AddSenderReport() return value of no receivers. Modified Paths: -------------- opal/trunk/src/rtp/rtp.cxx Modified: opal/trunk/src/rtp/rtp.cxx =================================================================== --- opal/trunk/src/rtp/rtp.cxx 2015-05-12 06:40:48 UTC (rev 33594) +++ opal/trunk/src/rtp/rtp.cxx 2015-05-12 06:53:00 UTC (rev 33595) @@ -937,7 +937,7 @@ sr->osent = (uint32_t)octets; // add the RR's after the SR - return (ReceiverReport *)(sr + 1); + return receivers > 0 ? (ReceiverReport *)(sr + 1) : NULL; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |