# HG changeset patch # User Mychaela Falconia # Date 1716580746 0 # Node ID 4d1732e4a14324a529b416eb316fba272e4737e5 # Parent 0565aaa84b17cdad1f1e40b8a99591e12eef2fcb trau-parse: frame offsets were reported off by one byte diff -r 0565aaa84b17 -r 4d1732e4a143 trau-decode/parse-main.c --- a/trau-decode/parse-main.c Fri May 24 19:44:14 2024 +0000 +++ b/trau-decode/parse-main.c Fri May 24 19:59:06 2024 +0000 @@ -87,7 +87,7 @@ { unsigned c1_5, c6_11; - printf("Frame at 0x%x:\n", file_offset - 160); + printf("Frame at 0x%x:\n", file_offset - 159); printf(" C1-C5: %u%u%u%u%u", frame_bits[17], frame_bits[18], frame_bits[19], frame_bits[20], frame_bits[21]); c1_5 = bits_to_num(frame_bits + 17, 5);