# HG changeset patch # User Mychaela Falconia # Date 1727286641 0 # Node ID a7ede064f883eab9f2e8046102613a51620b6517 # Parent fe3cdbbc96f98f3cd2850239e663168277b75081 atrau-parse: check sync one bit diff -r fe3cdbbc96f9 -r a7ede064f883 d144/atrau-parse.c --- a/d144/atrau-parse.c Wed Sep 25 17:45:29 2024 +0000 +++ b/d144/atrau-parse.c Wed Sep 25 17:50:41 2024 +0000 @@ -74,7 +74,7 @@ { unsigned n; - if (!check_sync_zeros(frame_bits)) + if (!check_sync_zeros(frame_bits) || !frame_bits[16]) printf(" Bad sync bits!\n"); printf(" C1-C5: %u%u%u%u%u\n", frame_bits[17], frame_bits[18], frame_bits[19], frame_bits[20], frame_bits[21]);