commit 6a8af21a5cec1e317618799bb7be8054fb1b43be
parent 98db92a98e7daeee91f2b47de2a25a8d97899015
Author: z3bra <contactatz3bradotorg>
Date: Wed, 2 Nov 2016 08:38:05 +0100
Fix AV buffer signedness
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,