summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--src/framing.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index 9c8a824..44d71aa 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+Version 1.1.3 (unreleased)
+
+ * Correct a bug in the granulepos field of pages where no packet ends
+
Version 1.1.2 (2004 September 23)
* fix a bug with multipage packet assembly after seek
diff --git a/src/framing.c b/src/framing.c
index 73abfa4..e2c6f48 100644
--- a/src/framing.c
+++ b/src/framing.c
@@ -1079,9 +1079,9 @@ const int head1_4[] = {0x4f,0x67,0x67,0x53,0,0x02,
0};
const int head2_4[] = {0x4f,0x67,0x67,0x53,0,0x00,
- 0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+ 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0x01,0x02,0x03,0x04,1,0,0,0,
- 0x34,0x24,0xd5,0x29,
+ 0x54,0x05,0x51,0xc8,
17,
255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255};
@@ -1165,9 +1165,9 @@ const int head2_6[] = {0x4f,0x67,0x67,0x53,0,0x00,
255,255,255,255,255,255,255,255};
const int head3_6[] = {0x4f,0x67,0x67,0x53,0,0x01,
- 0x07,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
+ 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0x01,0x02,0x03,0x04,2,0,0,0,
- 0xbd,0xd5,0xb5,0x8b,
+ 0x01,0xd2,0xe5,0xe5,
17,
255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255};