diff options
author | Ralph Giles <giles@xiph.org> | 2005-07-23 00:19:14 +0000 |
---|---|---|
committer | Ralph Giles <giles@xiph.org> | 2005-07-23 00:19:14 +0000 |
commit | d0acdd7d7ea78127d1e2f0e57164c20104c6bb69 (patch) | |
tree | 12e40a766f48cc5cf7a6e16b255599b8f81dea79 /src | |
parent | 5d4aa6d6cb1588840245ca7e055316f6393d9c9f (diff) | |
download | ogg-git-d0acdd7d7ea78127d1e2f0e57164c20104c6bb69.tar.gz |
Correct the test case data to expect a granulepos of -1 on pages where
no packet ends. The spec is clear about this but the unit tests assumed
the old behaviour (carry over the previous granulepos) was correct.
I did not verify the new CRC values by hand however, they are just copied
from the library output.
Also update changelog for the bug fix.
svn path=/trunk/ogg/; revision=9601
Diffstat (limited to 'src')
-rw-r--r-- | src/framing.c | 8 |
1 files changed, 4 insertions, 4 deletions
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}; |