aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/listener.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/listener.c b/src/listener.c
index 141a3f3..9360c55 100644
--- a/src/listener.c
+++ b/src/listener.c
@@ -27,6 +27,8 @@ void *display_thread(void *arg)
void on_recv(char *buf, int numbytes)
{
+ (void)numbytes;
+
memcpy(cam_data, &(buf[REC_CAP]), BUF_CAP-REC_CAP);
audio_play(buf);
}