From 6a8af21a5cec1e317618799bb7be8054fb1b43be Mon Sep 17 00:00:00 2001 From: z3bra Date: Wed, 2 Nov 2016 08:38:05 +0100 Subject: Fix AV buffer signedness --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratox.c b/ratox.c index 3b277c7..40336b9 100644 --- a/ratox.c +++ b/ratox.c @@ -515,7 +515,7 @@ sendfriendcalldata(struct friend *f) { struct timespec now, diff; ssize_t n, pcm; - uint16_t *buf; + int16_t *buf; n = fiforead(f->dirfd, &f->fd[FCALL_IN], ffiles[FCALL_IN], f->av.frame + (f->av.state & INCOMPLETE) * f->av.n, -- cgit v1.2.3