summaryrefslogtreecommitdiff
path: root/toxav/codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/codec.c')
-rw-r--r--toxav/codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxav/codec.c b/toxav/codec.c
index 33fe5627..3e6de803 100644
--- a/toxav/codec.c
+++ b/toxav/codec.c
@@ -234,12 +234,12 @@ int init_video_encoder(CodecState *cs, uint16_t width, uint16_t height, uint32_t
234 } 234 }
235 235
236 rc = vpx_codec_control(&cs->v_encoder, VP8E_SET_CPUUSED, 7); 236 rc = vpx_codec_control(&cs->v_encoder, VP8E_SET_CPUUSED, 7);
237 237
238 if ( rc != VPX_CODEC_OK) { 238 if ( rc != VPX_CODEC_OK) {
239 LOGGER_ERROR("Failed to set encoder control setting: %s", vpx_codec_err_to_string(rc)); 239 LOGGER_ERROR("Failed to set encoder control setting: %s", vpx_codec_err_to_string(rc));
240 return -1; 240 return -1;
241 } 241 }
242 242
243 return 0; 243 return 0;
244} 244}
245 245