summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-14 21:08:02 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-14 21:08:02 +0000
commitda739a9438bab75b1ad18cb96208069895b88d2b (patch)
tree75f1dbb6d7c08264e27a58d0b2ad97839aa414f3 /toxav
parentd79b15c52daf82748040f41f93fa6e046efdeee7 (diff)
Add random_u16 function and rename the others to match.
Diffstat (limited to 'toxav')
-rw-r--r--toxav/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c
index 8df1b6e0..dc0bdefa 100644
--- a/toxav/rtp.c
+++ b/toxav/rtp.c
@@ -52,7 +52,7 @@ RTPSession *rtp_new(int payload_type, Messenger *m, uint32_t friendnumber,
52 return NULL; 52 return NULL;
53 } 53 }
54 54
55 retu->ssrc = random_int(); 55 retu->ssrc = random_u32();
56 retu->payload_type = payload_type; 56 retu->payload_type = payload_type;
57 57
58 retu->m = m; 58 retu->m = m;