summaryrefslogtreecommitdiff
path: root/toxav/toxav.c
diff options
context:
space:
mode:
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) {