summaryrefslogtreecommitdiff
path: root/toxav/toxav.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r--toxav/toxav.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c
index 8f3c7e01..dda16ecd 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -918,7 +918,7 @@ bool toxav_video_send_frame(ToxAV *av, uint32_t friend_number, uint16_t width, u
918 918
919 if (vrc != VPX_CODEC_OK) { 919 if (vrc != VPX_CODEC_OK) {
920 pthread_mutex_unlock(call->mutex_video); 920 pthread_mutex_unlock(call->mutex_video);
921 LOGGER_ERROR(av->m->log, "Could not encode video frame: %s\n", vpx_codec_err_to_string(vrc)); 921 LOGGER_ERROR(av->m->log, "Could not encode video frame: %s", vpx_codec_err_to_string(vrc));
922 rc = TOXAV_ERR_SEND_FRAME_INVALID; 922 rc = TOXAV_ERR_SEND_FRAME_INVALID;
923 goto RETURN; 923 goto RETURN;
924 } 924 }
@@ -1308,7 +1308,7 @@ static bool call_prepare_transmission(ToxAVCall *call)
1308 } 1308 }
1309 1309
1310 if (call->active) { 1310 if (call->active) {
1311 LOGGER_WARNING(av->m->log, "Call already active!\n"); 1311 LOGGER_WARNING(av->m->log, "Call already active!");
1312 return true; 1312 return true;
1313 } 1313 }
1314 1314