diff options
Diffstat (limited to 'toxav')
-rw-r--r-- | toxav/msi.c | 4 | ||||
-rw-r--r-- | toxav/toxav.c | 6 | ||||
-rw-r--r-- | toxav/toxav.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/toxav/msi.c b/toxav/msi.c index 91742c35..dad32afe 100644 --- a/toxav/msi.c +++ b/toxav/msi.c | |||
@@ -618,7 +618,7 @@ static void *timer_poll( void *arg ) | |||
618 | LOGGER_ERROR("Failed to execute timer at: %d!", handler->timers[0]->timeout); | 618 | LOGGER_ERROR("Failed to execute timer at: %d!", handler->timers[0]->timeout); |
619 | free(args); | 619 | free(args); |
620 | } else { | 620 | } else { |
621 | LOGGER_DEBUG("Exectued timer assigned at: %d", handler->timers[0]->timeout); | 621 | LOGGER_DEBUG("Executed timer assigned at: %d", handler->timers[0]->timeout); |
622 | } | 622 | } |
623 | 623 | ||
624 | timer_release(handler, handler->timers[0]->idx, 0); | 624 | timer_release(handler, handler->timers[0]->idx, 0); |
@@ -1436,7 +1436,7 @@ static void msi_handle_packet ( Messenger *messenger, int source, const uint8_t | |||
1436 | MSIMessage *msg; | 1436 | MSIMessage *msg; |
1437 | 1437 | ||
1438 | if ( !length ) { | 1438 | if ( !length ) { |
1439 | LOGGER_WARNING("Lenght param negative"); | 1439 | LOGGER_WARNING("Length param negative"); |
1440 | return; | 1440 | return; |
1441 | } | 1441 | } |
1442 | 1442 | ||
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) { |
diff --git a/toxav/toxav.h b/toxav/toxav.h index e31c7aad..34c8be5d 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h | |||
@@ -167,7 +167,7 @@ void toxav_kill(ToxAv *av); | |||
167 | void toxav_register_callstate_callback (ToxAv *av, ToxAVCallback callback, ToxAvCallbackID id, void *userdata); | 167 | void toxav_register_callstate_callback (ToxAv *av, ToxAVCallback callback, ToxAvCallbackID id, void *userdata); |
168 | 168 | ||
169 | /** | 169 | /** |
170 | * @brief Register callback for recieving audio data | 170 | * @brief Register callback for receiving audio data |
171 | * | 171 | * |
172 | * @param av Handler. | 172 | * @param av Handler. |
173 | * @param callback The callback | 173 | * @param callback The callback |
@@ -177,7 +177,7 @@ void toxav_register_audio_recv_callback (ToxAv *av, void (*callback)(ToxAv *, in | |||
177 | void *user_data); | 177 | void *user_data); |
178 | 178 | ||
179 | /** | 179 | /** |
180 | * @brief Register callback for recieving video data | 180 | * @brief Register callback for receiving video data |
181 | * | 181 | * |
182 | * @param av Handler. | 182 | * @param av Handler. |
183 | * @param callback The callback | 183 | * @param callback The callback |