commit 4f29a887cfab39e1dfa21fdb6c234b728fb572b4
parent 110bb7a949aa16a2fa78cafdd53ceafb14f16aae
Author: sin <sin@2f30.org>
Date: Wed, 31 Dec 2014 19:28:44 +0000
Style fix, be consistent with the other conditionals
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/output.c b/output.c
@@ -191,7 +191,7 @@ playoutput(Format *fmt, Outputdesc *desc, void *buf, size_t nbytes)
memcpy(inbuf, buf, nbytes);
}
- if (desc->fmt.rate == fmt->rate) {
+ if (fmt->rate == desc->fmt.rate) {
if (desc->output->play(inbuf, nbytes) < 0) {
free(inbuf);
return -1;