]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
small cleanup
authorBrian West <brian@freeswitch.org>
Tue, 4 Apr 2006 04:31:33 +0000 (04:31 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 4 Apr 2006 04:31:33 +0000 (04:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1028 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index 52114d3531134dedebb4c0bd637d0a4372be55c5..8994c7e5d5addd88c73bf21bbdcd6ec1f7493be5 100644 (file)
  * switch_rtp.c -- RTP
  *
  */
-#ifdef RTPW_USE_WINSOCK2
-# define DICT_FILE        "words.txt"
-#else
-# define DICT_FILE        "/usr/share/dict/words"
-#endif
 #define USEC_RATE        (5e5)
 #define MAX_WORD_LEN     128  
 #define ADDR_IS_MULTICAST(a) IN_MULTICAST(htonl(a))
@@ -49,7 +44,6 @@
 #include <datatypes.h>
 #include <srtp.h>
 
-
 #define rtp_header_len 12
 
 typedef srtp_hdr_t rtp_hdr_t;
@@ -61,7 +55,6 @@ typedef struct {
   char body[RTP_MAX_BUF_LEN];  
 } rtp_msg_t;
 
-
 struct switch_rtp {
        switch_socket_t *sock;
 
@@ -256,7 +249,6 @@ SWITCH_DECLARE(int) switch_rtp_read(switch_rtp *rtp_session, void *data, uint32_
 
 }
 
-
 SWITCH_DECLARE(int) switch_rtp_zerocopy_read(switch_rtp *rtp_session, void **data, int *payload_type)
 {
        switch_size_t bytes;
@@ -346,4 +338,3 @@ SWITCH_DECLARE(void *)switch_rtp_get_private(switch_rtp *rtp_session)
 {
        return rtp_session->private_data;
 }
-