summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
Diffstat (limited to 'toxav')
-rw-r--r--toxav/msi.c1
-rw-r--r--toxav/video.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/toxav/msi.c b/toxav/msi.c
index 244225fa..f82b91ba 100644
--- a/toxav/msi.c
+++ b/toxav/msi.c
@@ -30,7 +30,6 @@
30#include <stdbool.h> 30#include <stdbool.h>
31#include <stdlib.h> 31#include <stdlib.h>
32#include <string.h> 32#include <string.h>
33#include <unistd.h>
34 33
35#define MSI_MAXMSG_SIZE 256 34#define MSI_MAXMSG_SIZE 256
36 35
diff --git a/toxav/video.c b/toxav/video.c
index ab47ae97..545d95b6 100644
--- a/toxav/video.c
+++ b/toxav/video.c
@@ -72,11 +72,11 @@
72#define VIDEO_BITRATE_INITIAL_VALUE 5000 72#define VIDEO_BITRATE_INITIAL_VALUE 5000
73#define VIDEO_DECODE_BUFFER_SIZE 5 // this buffer has normally max. 1 entry 73#define VIDEO_DECODE_BUFFER_SIZE 5 // this buffer has normally max. 1 entry
74 74
75static const vpx_codec_iface_t *video_codec_decoder_interface(void) 75static vpx_codec_iface_t *video_codec_decoder_interface(void)
76{ 76{
77 return vpx_codec_vp8_dx(); 77 return vpx_codec_vp8_dx();
78} 78}
79static const vpx_codec_iface_t *video_codec_encoder_interface(void) 79static vpx_codec_iface_t *video_codec_encoder_interface(void)
80{ 80{
81 return vpx_codec_vp8_cx(); 81 return vpx_codec_vp8_cx();
82} 82}