Revision: 18727
http://opalvoip.svn.sourceforge.net/opalvoip/?rev=18727&view=rev
Author: csoutheren
Date: 2007-10-22 05:16:41 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
Fix compile warning on Linux
Modified Paths:
--------------
opal/branches/csoutheren/devel/src/rtp/rtp.cxx
Modified: opal/branches/csoutheren/devel/src/rtp/rtp.cxx
===================================================================
--- opal/branches/csoutheren/devel/src/rtp/rtp.cxx 2007-10-22 11:26:06 UTC (rev 18726)
+++ opal/branches/csoutheren/devel/src/rtp/rtp.cxx 2007-10-22 12:16:41 UTC (rev 18727)
@@ -767,8 +767,9 @@
unsigned RTP_DataFrame::GetPaddingSize() const
{
- if (!GetPadding()) return 0;
- return PMAX(0, GetPayloadPtr()[payloadSize-1]);
+ if (!GetPadding())
+ return 0;
+ return theArray[payloadSize-1];
}
#if PTRACING
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|