Commit 8dd280f0 authored by Mans Rullgard's avatar Mans Rullgard

mqbscan: advance start position on second -1 flag

This allows easily skipping the initial bogus packets produced by
old decoders.
parent ce749b66
......@@ -223,6 +223,8 @@ int main(int argc, char **argv)
while ((opt = getopt(argc, argv, "1p:s:v")) != -1) {
switch (opt) {
case '1':
if (single)
start++;
single = 1;
if (packet_type < 0)
packet_type = 1;
......
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