Skip to content

Commit

Permalink
Increase segment number for end-of-file segment.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Langley <agl@imperialviolet.org>
  • Loading branch information
smuehlst authored and agl committed Aug 13, 2009
1 parent eee67bd commit 779bbe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jbig2enc.cc
Expand Up @@ -625,6 +625,7 @@ jbig2_encode_generic(struct Pix *const bw, const bool full_headers, const int xr
if (full_headers) {
endseg.type = segment_end_of_page;
SEGMENT(endseg);
endseg.number += 1;
endseg.type = segment_end_of_file;
SEGMENT(endseg);
}
Expand Down

0 comments on commit 779bbe4

Please sign in to comment.