Fix JBIG table length.
Signed-off-by: yzrh <yzrh@noema.org>
This commit is contained in:
parent
0bbf8e65dd
commit
3ac51d66b9
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
static const uint16_t _LSZ[256] = {
|
static const uint16_t _LSZ[0x71] = {
|
||||||
0x5a1d,
|
0x5a1d,
|
||||||
0x2586, 0x1114, 0x080b, 0x03d8, 0x01da, 0x00e5, 0x006f, 0x0036,
|
0x2586, 0x1114, 0x080b, 0x03d8, 0x01da, 0x00e5, 0x006f, 0x0036,
|
||||||
0x001a, 0x000d, 0x0006, 0x0003, 0x0001, 0x5a7f, 0x3f25, 0x2cf2,
|
0x001a, 0x000d, 0x0006, 0x0003, 0x0001, 0x5a7f, 0x3f25, 0x2cf2,
|
||||||
|
@ -28,7 +28,7 @@ static const uint16_t _LSZ[256] = {
|
||||||
0x5627, 0x50e7, 0x4b85, 0x5597, 0x504f, 0x5a10, 0x5522, 0x59eb
|
0x5627, 0x50e7, 0x4b85, 0x5597, 0x504f, 0x5a10, 0x5522, 0x59eb
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t _NLPS[256] = {
|
static const uint8_t _NLPS[0x71] = {
|
||||||
1,
|
1,
|
||||||
14, 16, 18, 20, 23, 25, 28, 30,
|
14, 16, 18, 20, 23, 25, 28, 30,
|
||||||
33, 35, 9, 10, 12, 15, 36, 38,
|
33, 35, 9, 10, 12, 15, 36, 38,
|
||||||
|
@ -47,7 +47,7 @@ static const uint8_t _NLPS[256] = {
|
||||||
105, 108, 109, 110, 111, 110, 112, 112
|
105, 108, 109, 110, 111, 110, 112, 112
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t _NMPS[256] = {
|
static const uint8_t _NMPS[0x71] = {
|
||||||
1,
|
1,
|
||||||
2, 3, 4, 5, 6, 7, 8, 9,
|
2, 3, 4, 5, 6, 7, 8, 9,
|
||||||
10, 11, 12, 13, 13, 15, 16, 17,
|
10, 11, 12, 13, 13, 15, 16, 17,
|
||||||
|
@ -66,7 +66,7 @@ static const uint8_t _NMPS[256] = {
|
||||||
106, 107, 103, 109, 107, 111, 109, 111
|
106, 107, 103, 109, 107, 111, 109, 111
|
||||||
};
|
};
|
||||||
|
|
||||||
static const bool _SWTCH[256] = {
|
static const bool _SWTCH[0x71] = {
|
||||||
1,
|
1,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 1, 0, 0,
|
0, 0, 0, 0, 0, 1, 0, 0,
|
||||||
|
|
Loading…
Reference in a new issue