diff options
author | endoffile78 <endoffile78@yahoo.com> | 2018-01-10 20:12:21 -0600 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-01-13 16:01:43 +0000 |
commit | f4ba43c81b28c23d86168a1ae1be8551d5258e80 (patch) | |
tree | 1c925c0e6ea183cee6b1fd2041b64b3fbec2a161 /toxav | |
parent | 449c3f12cc7d2fb0743c35b8af44b86217855f2f (diff) |
Remove useless if statement
Diffstat (limited to 'toxav')
-rw-r--r-- | toxav/rtp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c index 2f50324e..8df1b6e0 100644 --- a/toxav/rtp.c +++ b/toxav/rtp.c | |||
@@ -395,12 +395,6 @@ NEW_MULTIPARTED: | |||
395 | */ | 395 | */ |
396 | if (session->mcb) { | 396 | if (session->mcb) { |
397 | session->mp = new_message(net_ntohs(header->tlen) + sizeof(struct RTPHeader), data, length); | 397 | session->mp = new_message(net_ntohs(header->tlen) + sizeof(struct RTPHeader), data, length); |
398 | |||
399 | /* Reposition data if necessary */ | ||
400 | if (net_ntohs(header->cpart)) { | ||
401 | ; | ||
402 | } | ||
403 | |||
404 | memmove(session->mp->data + net_ntohs(header->cpart), session->mp->data, session->mp->len); | 398 | memmove(session->mp->data + net_ntohs(header->cpart), session->mp->data, session->mp->len); |
405 | } | 399 | } |
406 | } | 400 | } |