diff options
author | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
commit | 099d844292f60f9d58914da29e5773204dc55e7a (patch) | |
tree | 04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /compress.c | |
parent | 795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff) | |
download | bzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.gz bzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.bz2 bzip2-099d844292f60f9d58914da29e5773204dc55e7a.zip |
bzip2-1.0.2bzip2-1.0.2
Diffstat (limited to 'compress.c')
-rw-r--r-- | compress.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8,7 +8,7 @@ | |||
8 | This file is a part of bzip2 and/or libbzip2, a program and | 8 | This file is a part of bzip2 and/or libbzip2, a program and |
9 | library for lossless, block-sorting data compression. | 9 | library for lossless, block-sorting data compression. |
10 | 10 | ||
11 | Copyright (C) 1996-2000 Julian R Seward. All rights reserved. | 11 | Copyright (C) 1996-2002 Julian R Seward. All rights reserved. |
12 | 12 | ||
13 | Redistribution and use in source and binary forms, with or without | 13 | Redistribution and use in source and binary forms, with or without |
14 | modification, are permitted provided that the following conditions | 14 | modification, are permitted provided that the following conditions |
@@ -663,10 +663,10 @@ void BZ2_compressBlock ( EState* s, Bool is_last_block ) | |||
663 | /*-- If this is the first block, create the stream header. --*/ | 663 | /*-- If this is the first block, create the stream header. --*/ |
664 | if (s->blockNo == 1) { | 664 | if (s->blockNo == 1) { |
665 | BZ2_bsInitWrite ( s ); | 665 | BZ2_bsInitWrite ( s ); |
666 | bsPutUChar ( s, 'B' ); | 666 | bsPutUChar ( s, BZ_HDR_B ); |
667 | bsPutUChar ( s, 'Z' ); | 667 | bsPutUChar ( s, BZ_HDR_Z ); |
668 | bsPutUChar ( s, 'h' ); | 668 | bsPutUChar ( s, BZ_HDR_h ); |
669 | bsPutUChar ( s, (UChar)('0' + s->blockSize100k) ); | 669 | bsPutUChar ( s, (UChar)(BZ_HDR_0 + s->blockSize100k) ); |
670 | } | 670 | } |
671 | 671 | ||
672 | if (s->nblock > 0) { | 672 | if (s->nblock > 0) { |