summaryrefslogtreecommitdiff
path: root/toxav/rtp.c
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2015-05-07 23:14:03 +0200
committermannol <eniz_vukovic@hotmail.com>2015-05-07 23:14:03 +0200
commit73fbc2296117f8a507e8ed9399e1cf13f19ddb19 (patch)
treec3b4c200026a28ba4a545e4c47e8e5c21a3d2fe5 /toxav/rtp.c
parenteb6e8aa290a7423b666d037981fb453a6f897861 (diff)
Fixed inconsistencies
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r--toxav/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c
index 4ca23d2a..7b3a5ed0 100644
--- a/toxav/rtp.c
+++ b/toxav/rtp.c
@@ -285,7 +285,7 @@ int rtp_send_data ( RTPSession *session, const uint8_t *data, uint16_t length, b
285 return -1; 285 return -1;
286 } 286 }
287 287
288 session->sequnum = session->sequnum >= MAX_SEQU_NUM ? 0 : session->sequnum + 1; 288 session->sequnum ++;
289 return 0; 289 return 0;
290} 290}
291void rtp_free_msg ( RTPMessage *msg ) 291void rtp_free_msg ( RTPMessage *msg )