dect
/
asterisk
Archived
13
0
Fork 0

Fix up the ast_rtp_property enum.

The mis-placement of the latest entry meant that when it was set, it was writing
one index past the end of the properties array in the ast_rtp_instance (which
happened to be the local_address field).


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@250871 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2010-03-05 02:07:33 +00:00
parent 7cb8dcb72b
commit a477714ebc
1 changed files with 7 additions and 2 deletions

View File

@ -92,10 +92,15 @@ enum ast_rtp_property {
AST_RTP_PROPERTY_STUN,
/*! Enable RTCP support */
AST_RTP_PROPERTY_RTCP,
/*! Maximum number of RTP properties supported */
AST_RTP_PROPERTY_MAX,
/*! Don't force a new SSRC on new source */
AST_RTP_PROPERTY_CONSTANT_SSRC,
/*!
* \brief Maximum number of RTP properties supported
*
* \note THIS MUST BE THE LAST ENTRY IN THIS ENUM.
*/
AST_RTP_PROPERTY_MAX,
};
/*! Additional RTP options */