summaryrefslogtreecommitdiff
path: root/jbig2dec/jbig2_huffman.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-05-08 22:35:11 +0800
committerSebastian Rasmussen <sebras@gmail.com>2018-07-13 16:54:30 +0800
commitdef343c44322ebdf609d0113884385d944dc361a (patch)
tree21c6195a44a7667b4bb1e4dcf8d854ab1c59717a /jbig2dec/jbig2_huffman.c
parenta4ebc6d3cd3e2fcab8b3e9b7bcb7364c14f09d8d (diff)
downloadghostpdl-def343c44322ebdf609d0113884385d944dc361a.tar.gz
jbig2dec: Fix typos in error messages and comments.
Diffstat (limited to 'jbig2dec/jbig2_huffman.c')
-rw-r--r--jbig2dec/jbig2_huffman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jbig2dec/jbig2_huffman.c b/jbig2dec/jbig2_huffman.c
index 54b513cc0..8734f0bbb 100644
--- a/jbig2dec/jbig2_huffman.c
+++ b/jbig2dec/jbig2_huffman.c
@@ -536,7 +536,7 @@ jbig2_table(Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data)
the last normal table line in the encoded table */
const int32_t HTHIGH = jbig2_get_int32(segment_data + 5);
- /* estimated number of lines int this table, used for allocating memory for lines */
+ /* estimated number of lines in this table, used for allocating memory for lines */
const size_t lines_max = (segment->data_length * 8 - HTPS * (HTOOB ? 3 : 2)) / (HTPS + HTRS) + (HTOOB ? 3 : 2);
/* points to a first table line data */
@@ -681,7 +681,7 @@ jbig2_find_table(Jbig2Ctx *ctx, Jbig2Segment *segment, int index)
/* cc -g -o jbig2_huffman.test1 -DTEST jbig2_huffman.c .libs/libjbig2dec.a */
-/* a test bitstream, and a list of the table indicies
+/* a test bitstream, and a list of the table indices
to use in decoding it. 1 = table B.1 (A), 2 = table B.2 (B), and so on */
/* this test stream should decode to { 8, 5, oob, 8 } */