aboutsummaryrefslogtreecommitdiff
path: root/compress.c
diff options
context:
space:
mode:
authorJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
committerJulian Seward <jseward@acm.org>2001-12-30 22:13:13 +0100
commit099d844292f60f9d58914da29e5773204dc55e7a (patch)
tree04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /compress.c
parent795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff)
downloadbzip2-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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/compress.c b/compress.c
index cc5e31d..56501c1 100644
--- a/compress.c
+++ b/compress.c
@@ -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) {