summaryrefslogtreecommitdiff
path: root/toxav/rtp.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-26 20:34:26 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-09-03 20:03:47 +0000
commit6872c14e1a02445d945623ee6e85230c5d7ecbce (patch)
tree30d90b93445976e56b96946b6e87b764eddd48a8 /toxav/rtp.h
parentd296490a742b226fc17a71cf96ab73fc16719b20 (diff)
Avoid use of global mutable state in mono_time on win32.
This uses a trick to get read-write access to `this` from a `const` member function, similar to C++ `mutable`, but uglier.
Diffstat (limited to 'toxav/rtp.h')
-rw-r--r--toxav/rtp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp.h b/toxav/rtp.h
index 42997594..e068f6ac 100644
--- a/toxav/rtp.h
+++ b/toxav/rtp.h
@@ -159,7 +159,7 @@ struct RTPWorkBufferList {
159 159
160#define DISMISS_FIRST_LOST_VIDEO_PACKET_COUNT 10 160#define DISMISS_FIRST_LOST_VIDEO_PACKET_COUNT 10
161 161
162typedef int rtp_m_cb(const Mono_Time *mono_time, void *cs, struct RTPMessage *msg); 162typedef int rtp_m_cb(Mono_Time *mono_time, void *cs, struct RTPMessage *msg);
163 163
164/** 164/**
165 * RTP control session. 165 * RTP control session.