summaryrefslogtreecommitdiff
path: root/toxav/msi.h
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2014-07-05 15:11:25 +0200
committermannol <eniz_vukovic@hotmail.com>2014-07-05 15:11:25 +0200
commit8b9d3992a44fcac66979b847dc2ff488f3ff614a (patch)
treeae73e54964442d23125a21528e9fb05db294e275 /toxav/msi.h
parenta8fa360547ccefef3694c5d185414874539769c1 (diff)
Make rtp & codec actions thread-safe
Diffstat (limited to 'toxav/msi.h')
-rw-r--r--toxav/msi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxav/msi.h b/toxav/msi.h
index 0020df4c..428f7d9c 100644
--- a/toxav/msi.h
+++ b/toxav/msi.h
@@ -77,7 +77,7 @@ typedef struct _MSICall { /* Call info structure */
77 int ringing_timer_id; /* Timer id for ringing timeout */ 77 int ringing_timer_id; /* Timer id for ringing timeout */
78 78
79 79
80 pthread_mutex_t mutex; /* */ 80 pthread_mutex_t mutex[1]; /* */
81 uint32_t *peers; 81 uint32_t *peers;
82 uint16_t peer_count; 82 uint16_t peer_count;
83 83
@@ -104,7 +104,7 @@ typedef struct _MSISession {
104 uint32_t frequ; 104 uint32_t frequ;
105 uint32_t call_timeout; /* Time of the timeout for some action to end; 0 if infinite */ 105 uint32_t call_timeout; /* Time of the timeout for some action to end; 0 if infinite */
106 106
107 pthread_mutex_t mutex; 107 pthread_mutex_t mutex[1];
108 108
109 void *timer_handler; 109 void *timer_handler;
110} MSISession; 110} MSISession;