Skip to content
Snippets Groups Projects
Commit 675c8f10 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

mqbscan: exit if no sync found

parent 63f3864a
No related branches found
No related tags found
No related merge requests found
......@@ -192,10 +192,9 @@ int main(int argc, char **argv)
init_bits(&fb);
fb.fill_bits = fill_bits_mqb;
find_sync(&br, MQB_MARKER, 56, 1024);
for (;;)
print_mqb_frame(&fb);
if (!find_sync(&br, MQB_MARKER, 56, 1024))
for (;;)
print_mqb_frame(&fb);
}
sf_close(file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment