diff options
author | yangfl <yangfl@users.noreply.github.com> | 2018-09-19 11:15:50 +0800 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-09-19 18:16:13 +0000 |
commit | d3d5b701cb940e5f6c7cb2af199428fc8224e665 (patch) | |
tree | 227460e1cde95443856ccbc5f0bcf082874bd41c /toxav | |
parent | 758bd9aa871666e1003691531f22f6dc515625bf (diff) |
Fix typos
Diffstat (limited to 'toxav')
-rw-r--r-- | toxav/rtp.c | 4 | ||||
-rw-r--r-- | toxav/toxav.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c index 77cae626..36ee9688 100644 --- a/toxav/rtp.c +++ b/toxav/rtp.c | |||
@@ -71,12 +71,12 @@ static struct RTPMessage *new_message(const struct RTPHeader *header, size_t all | |||
71 | /** | 71 | /** |
72 | * Find the next free slot in work_buffer for the incoming data packet. | 72 | * Find the next free slot in work_buffer for the incoming data packet. |
73 | * | 73 | * |
74 | * - If the data packet belongs to a frame thats already in the work_buffer then | 74 | * - If the data packet belongs to a frame that's already in the work_buffer then |
75 | * use that slot. | 75 | * use that slot. |
76 | * - If there is no free slot return GET_SLOT_RESULT_DROP_OLDEST_SLOT. | 76 | * - If there is no free slot return GET_SLOT_RESULT_DROP_OLDEST_SLOT. |
77 | * - If the data packet is too old return GET_SLOT_RESULT_DROP_INCOMING. | 77 | * - If the data packet is too old return GET_SLOT_RESULT_DROP_INCOMING. |
78 | * | 78 | * |
79 | * If there is a keyframe beeing assembled in slot 0, keep it a bit longer and | 79 | * If there is a keyframe being assembled in slot 0, keep it a bit longer and |
80 | * do not kick it out right away if all slots are full instead kick out the new | 80 | * do not kick it out right away if all slots are full instead kick out the new |
81 | * incoming interframe. | 81 | * incoming interframe. |
82 | */ | 82 | */ |
diff --git a/toxav/toxav.c b/toxav/toxav.c index 85d0d9c1..c8d8a274 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -289,7 +289,7 @@ void toxav_iterate(ToxAV *av) | |||
289 | av->dmsst += current_time_monotonic(av->m->mono_time) - start; | 289 | av->dmsst += current_time_monotonic(av->m->mono_time) - start; |
290 | 290 | ||
291 | if (++av->dmssc == 3) { | 291 | if (++av->dmssc == 3) { |
292 | av->dmssa = av->dmsst / 3 + 5 /* NOTE Magic Offset for precission */; | 292 | av->dmssa = av->dmsst / 3 + 5 /* NOTE Magic Offset for precision */; |
293 | av->dmssc = 0; | 293 | av->dmssc = 0; |
294 | av->dmsst = 0; | 294 | av->dmsst = 0; |
295 | } | 295 | } |