From d0a55b91d572858c0cad677d1710e4dc1407a1e6 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 25 Sep 2018 22:51:07 +0200 Subject: [PATCH] raw: fixup for last change --- lib/formats/raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/formats/raw.c b/lib/formats/raw.c index 9f09fa717..e2ad89757 100644 --- a/lib/formats/raw.c +++ b/lib/formats/raw.c @@ -192,7 +192,7 @@ int raw_sprint(struct io *io, char *buf, size_t len, size_t *wbytes, struct samp out: if (wbytes) *wbytes = o * (bits / 8); - return 1; + return cnt; } int raw_sscan(struct io *io, const char *buf, size_t len, size_t *rbytes, struct sample *smps[], unsigned cnt)