summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-04 10:58:42 +0100
committersin <sin@2f30.org>2014-10-04 10:58:52 +0100
commitbc0b844cdbde4e396f55d11dce0312887b49ecae (patch)
treeee8d1d26e2f527e5607bf5fdc5791c86277e5a90 /ratox.c
parentec6500034cced8095959c9bf3c74566d0335e000 (diff)
Minor stylistic changes
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/ratox.c b/ratox.c
index f45d81b..89fdac8 100644
--- a/ratox.c
+++ b/ratox.c
@@ -551,8 +551,8 @@ sendfriendcalldata(struct friend *f)
ssize_t n, payloadsize;
n = fiforead(f->dirfd, &f->fd[FCALL_IN], ffiles[FCALL_IN],
- f->av.frame + f->av.incompleteframe * f->av.n,
- framesize * sizeof(int16_t) - f->av.incompleteframe * f->av.n);
+ f->av.frame + f->av.incompleteframe * f->av.n,
+ framesize * sizeof(int16_t) - f->av.incompleteframe * f->av.n);
if (n == 0) {
memset(f->av.frame + f->av.incompleteframe * f->av.n, 0,
framesize * sizeof(int16_t) - f->av.incompleteframe * f->av.n);
@@ -567,8 +567,8 @@ sendfriendcalldata(struct friend *f)
}
payloadsize = toxav_prepare_audio_frame(toxav, f->av.num,
- f->av.payload, sizeof(f->av.payload),
- (int16_t *)f->av.frame, framesize);
+ f->av.payload, sizeof(f->av.payload),
+ (int16_t *)f->av.frame, framesize);
if (payloadsize < 0)
eprintf("failed to encode payload\n");
@@ -582,7 +582,6 @@ sendfriendcalldata(struct friend *f)
f->av.state = av_CallNonExistant;
return;
}
-
}
static void