Commit 36bc4da8 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Support audiowmark cmp --expect-matches 0 (true if no matches found).

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent fb9b344e
......@@ -645,8 +645,11 @@ decode_and_report (const WavData& wav_data, const vector<int>& orig_bits)
if (match_count != Params::expect_matches)
return 1;
}
if (!match_count)
return 1;
else
{
if (!match_count)
return 1;
}
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment