diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-08-09 12:39:21 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-08-09 12:39:21 +0200 |
commit | c641b0fceb9b1fe0ca7181af1ddbb65200c33599 (patch) | |
tree | 286a870e03e3b43878753eb57e2d354df7c53f99 /toxav/rtp.h | |
parent | 0be0e88f3ec0cd81147a1418aa0afe61c24112b7 (diff) | |
parent | 2ab3b14731061cc04d3ccc50a35093c11d018298 (diff) |
Updated with upstream
Diffstat (limited to 'toxav/rtp.h')
-rw-r--r-- | toxav/rtp.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/toxav/rtp.h b/toxav/rtp.h index b18d6f8d..9c5cf07d 100644 --- a/toxav/rtp.h +++ b/toxav/rtp.h | |||
@@ -25,20 +25,7 @@ | |||
25 | #define RTP_VERSION 2 | 25 | #define RTP_VERSION 2 |
26 | 26 | ||
27 | #include "../toxcore/Messenger.h" | 27 | #include "../toxcore/Messenger.h" |
28 | 28 | #include "stdbool.h" | |
29 | #define LOGGED_LOCK(mutex) do { \ | ||
30 | /*LOGGER_DEBUG("Locking mutex: %p", mutex);*/\ | ||
31 | pthread_mutex_lock(mutex);\ | ||
32 | /*LOGGER_DEBUG("Locked mutex: %p", mutex);*/\ | ||
33 | } while(0) | ||
34 | |||
35 | #define LOGGED_UNLOCK(mutex) do { \ | ||
36 | /*LOGGER_DEBUG("Unlocking mutex: %p", mutex);*/\ | ||
37 | pthread_mutex_unlock(mutex);\ | ||
38 | /*LOGGER_DEBUG("Unlocked mutex: %p", mutex);*/\ | ||
39 | } while(0) | ||
40 | |||
41 | #define MAX_RTP_SIZE 1500 | ||
42 | 29 | ||
43 | /** | 30 | /** |
44 | * Payload type identifier. Also used as rtp callback prefix. (Not dummies) | 31 | * Payload type identifier. Also used as rtp callback prefix. (Not dummies) |