summaryrefslogtreecommitdiff
path: root/toxav/toxav.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-09-09 20:39:35 -0400
committerirungentoo <irungentoo@gmail.com>2014-09-09 20:39:35 -0400
commitd69a6843e70bc5c75c343ca54388ced3c1b91662 (patch)
tree18f7566c886ae81f23b14a7449234d6aede24ba4 /toxav/toxav.c
parenta0302b7acaef47805f93718630e501acdd3a3d00 (diff)
parent2bb2bc4163a13253d51b7d11e4abbe62b07da526 (diff)
Merge branch 'cgar-spelling'
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r--toxav/toxav.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c
index cd0ec70e..7cba031e 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -230,7 +230,7 @@ void toxav_register_callstate_callback ( ToxAv *av, ToxAVCallback callback, ToxA
230} 230}
231 231
232/** 232/**
233 * @brief Register callback for recieving audio data 233 * @brief Register callback for receiving audio data
234 * 234 *
235 * @param callback The callback 235 * @param callback The callback
236 * @return void 236 * @return void
@@ -243,7 +243,7 @@ void toxav_register_audio_recv_callback (ToxAv *av, void (*callback)(ToxAv *, in
243} 243}
244 244
245/** 245/**
246 * @brief Register callback for recieving video data 246 * @brief Register callback for receiving video data
247 * 247 *
248 * @param callback The callback 248 * @param callback The callback
249 * @return void 249 * @return void
@@ -1091,7 +1091,7 @@ void toxav_handle_packet(RTPSession *_session, RTPMessage *_msg)
1091 if (i == 0) { 1091 if (i == 0) {
1092 /* piece of current frame */ 1092 /* piece of current frame */
1093 } else if (i > 0 && i < 128) { 1093 } else if (i > 0 && i < 128) {
1094 /* recieved a piece of a frame ahead, flush current frame and start reading this new frame */ 1094 /* received a piece of a frame ahead, flush current frame and start reading this new frame */
1095 DECODE_PACKET *p = malloc(sizeof(DECODE_PACKET) + call->frame_limit); 1095 DECODE_PACKET *p = malloc(sizeof(DECODE_PACKET) + call->frame_limit);
1096 1096
1097 if (p) { 1097 if (p) {