]> sigrok.org Git - libsigrok.git/blobdiff - src/output/wav.c
session_driver: Don't open-code std_dev_clear().
[libsigrok.git] / src / output / wav.c
index b266b203275fec65e9e4bf3f4215aba981ba2022..6984c03d29b5185c61c41cc34325772d964249c2 100644 (file)
@@ -46,7 +46,7 @@ static int realloc_chanbufs(const struct sr_output *o, int size)
 
        outc = o->priv;
        for (i = 0; i < outc->num_channels; i++) {
-               if (!(outc->chanbuf[i] = g_try_realloc(outc->chanbuf[i], sizeof(float) * size))) { 
+               if (!(outc->chanbuf[i] = g_try_realloc(outc->chanbuf[i], sizeof(float) * size))) {
                        sr_err("Unable to allocate enough output buffer memory.");
                        return SR_ERR;
                }