X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fwav.c;h=8f8a37101200d49488596d7e914d7e8bbd490ad3;hb=0af636bed97c174bea46e61e961eaa1b0b162e0f;hp=1c0d4fd18082da643d6b2b0d083e277f1d7ff597;hpb=c7e455625807d31fcaf95f36a23f1afeba033e1f;p=libsigrok.git diff --git a/src/input/wav.c b/src/input/wav.c index 1c0d4fd1..8f8a3710 100644 --- a/src/input/wav.c +++ b/src/input/wav.c @@ -150,7 +150,7 @@ static int init(struct sr_input *in, GHashTable *options) { (void)options; - in->sdi = sr_dev_inst_new(SR_ST_ACTIVE, NULL, NULL, NULL); + in->sdi = sr_dev_inst_new(); in->priv = g_malloc0(sizeof(struct context)); return SR_OK;