Remove useless if statement

This commit is contained in:
endoffile78 2018-01-10 20:12:21 -06:00 committed by iphydf
parent 449c3f12cc
commit f4ba43c81b
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -395,12 +395,6 @@ NEW_MULTIPARTED:
*/
if (session->mcb) {
session->mp = new_message(net_ntohs(header->tlen) + sizeof(struct RTPHeader), data, length);
/* Reposition data if necessary */
if (net_ntohs(header->cpart)) {
;
}
memmove(session->mp->data + net_ntohs(header->cpart), session->mp->data, session->mp->len);
}
}