X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fwav.c;h=88ddd7a814dd07b5f4ab18477871ff1b82fbe531;hb=1beccaed464a4d92a070988a0331fe399f9f7a7a;hp=0c23010eb6f7c5f1dab218356c54c1cf80a4a212;hpb=e8be616955f2bc4e2c72fc55d899056ad68fb75c;p=libsigrok.git diff --git a/src/input/wav.c b/src/input/wav.c index 0c23010e..88ddd7a8 100644 --- a/src/input/wav.c +++ b/src/input/wav.c @@ -73,7 +73,6 @@ static int parse_wav_header(GString *buf, struct context *inc) return SR_ERR_DATA; } - if (fmt_code == WAVE_FORMAT_PCM) { } else if (fmt_code == WAVE_FORMAT_IEEE_FLOAT) { if (unitsize != 4) { @@ -370,4 +369,3 @@ SR_PRIV struct sr_input_module input_wav = { .receive = receive, .end = end, }; -