[asterisk-commits] trunk r33349 - in /trunk: include/asterisk/rtp.h rtp.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jun 9 13:13:48 MST 2006


Author: oej
Date: Fri Jun  9 15:13:47 2006
New Revision: 33349

URL: http://svn.digium.com/view/asterisk?rev=33349&view=rev
Log:
Move payloadtype back home to rtp.c 

Modified:
    trunk/include/asterisk/rtp.h
    trunk/rtp.c

Modified: trunk/include/asterisk/rtp.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/rtp.h?rev=33349&r1=33348&r2=33349&view=diff
==============================================================================
--- trunk/include/asterisk/rtp.h (original)
+++ trunk/include/asterisk/rtp.h Fri Jun  9 15:13:47 2006
@@ -66,19 +66,6 @@
 #define FLAG_3389_WARNING		(1 << 0)
 
 typedef int (*ast_rtp_callback)(struct ast_rtp *rtp, struct ast_frame *f, void *data);
-
-
-/*!
- * \brief Structure representing a RTP session.
- *
- * RTP session is defined on page 9 of RFC 3550: "An association among a set of participants communicating with RTP.  A participant may be involved in multiple RTP sessions at the same time [...]"
- *
- */
-/*! \brief The value of each payload format mapping: */
-struct rtpPayloadType {
-	int isAstFormat; 	/*!< whether the following code is an AST_FORMAT */
-	int code;
-};
 
 /*!
  * \brief Get the amount of space required to hold an RTP session

Modified: trunk/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/rtp.c?rev=33349&r1=33348&r2=33349&view=diff
==============================================================================
--- trunk/rtp.c (original)
+++ trunk/rtp.c Fri Jun  9 15:13:47 2006
@@ -89,6 +89,19 @@
 #ifdef SO_NO_CHECK
 static int nochecksums = 0;
 #endif
+
+/*!
+ * \brief Structure representing a RTP session.
+ *
+ * RTP session is defined on page 9 of RFC 3550: "An association among a set of participants communicating with RTP.  A participant may be involved in multiple RTP sessions at the same time [...]"
+ *
+ */
+/*! \brief The value of each payload format mapping: */
+struct rtpPayloadType {
+	int isAstFormat; 	/*!< whether the following code is an AST_FORMAT */
+	int code;
+};
+
 
 /*! \brief RTP session description */
 struct ast_rtp {



More information about the asterisk-commits mailing list