From: Craig S. <cso...@us...> - 2007-05-29 06:26:21
|
Update of /cvsroot/openh323/opal/src/rtp In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25523 Modified Files: rtp.cxx Log Message: Add Reset function so we can reload used control frames Index: rtp.cxx =================================================================== RCS file: /cvsroot/openh323/opal/src/rtp/rtp.cxx,v retrieving revision 2.65 retrieving revision 2.66 diff -C2 -d -r2.65 -r2.66 *** rtp.cxx 28 May 2007 08:37:02 -0000 2.65 --- rtp.cxx 29 May 2007 06:26:21 -0000 2.66 *************** *** 28,31 **** --- 28,34 ---- * * $Log$ + * Revision 2.66 2007/05/29 06:26:21 csoutheren + * Add Reset function so we can reload used control frames + * * Revision 2.65 2007/05/28 08:37:02 csoutheren * Protect against sending BYE when RTP session not connected *************** *** 792,795 **** --- 795,805 ---- } + void RTP_ControlFrame::Reset(PINDEX size) + { + SetSize(size); + compoundOffset = 0; + payloadSize = 0; + } + void RTP_ControlFrame::SetCount(unsigned count) |