summaryrefslogtreecommitdiff
path: root/toxav/rtp.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-08-18 00:37:45 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-08-18 17:10:15 +0100
commit6935643f9aca68c135161a4e3bf046cbd075000c (patch)
treec5ce6174304d16444021761b2f7a5d70fe9b8f1c /toxav/rtp.c
parent390fcb6c27b757b02c0e61776f920f32fcc77dcf (diff)
Fix some compiler warnings.
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r--toxav/rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c
index 3752d72f..27662fd7 100644
--- a/toxav/rtp.c
+++ b/toxav/rtp.c
@@ -382,7 +382,8 @@ NEW_MULTIPARTED:
382 session->mp = new_message(ntohs(header->tlen) + sizeof(struct RTPHeader), data, length); 382 session->mp = new_message(ntohs(header->tlen) + sizeof(struct RTPHeader), data, length);
383 383
384 /* Reposition data if necessary */ 384 /* Reposition data if necessary */
385 if (ntohs(header->cpart)); 385 if (ntohs(header->cpart))
386 ;
386 387
387 memmove(session->mp->data + ntohs(header->cpart), session->mp->data, session->mp->len); 388 memmove(session->mp->data + ntohs(header->cpart), session->mp->data, session->mp->len);
388 } 389 }