]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
totally random ssrc thing.
authorMichael Jerris <mike@jerris.com>
Tue, 30 Sep 2008 01:57:02 +0000 (01:57 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 30 Sep 2008 01:57:02 +0000 (01:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9754 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index ba6108da81e6ca219938c4db1096ee0c03b50d29..807c3c7374c650418d27a5168690062120c824fa 100644 (file)
@@ -760,7 +760,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_create(switch_rtp_t **new_rtp_session
                                                                                                  switch_rtp_flag_t flags, char *timer_name, const char **err, switch_memory_pool_t *pool)
 {
        switch_rtp_t *rtp_session = NULL;
-       uint32_t ssrc = rand() & 0xffff;
+       uint32_t ssrc = rand() & 0xffffffff;
 
        *new_rtp_session = NULL;