summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:04:22 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:04:22 +0000
commit62b30077af71ead4bcb4832db0904bd651481eb7 (patch)
tree10df1c3b8a4013b8064de7f184fda8197b2db707 /encoder.h
parentAdding debian version 1.6~pre4-1. (diff)
downloadlzlib-62b30077af71ead4bcb4832db0904bd651481eb7.tar.xz
lzlib-62b30077af71ead4bcb4832db0904bd651481eb7.zip
Merging upstream version 1.6~rc1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'encoder.h')
-rw-r--r--encoder.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/encoder.h b/encoder.h
index 2a92228..996f83b 100644
--- a/encoder.h
+++ b/encoder.h
@@ -25,7 +25,7 @@
Public License.
*/
-enum { max_num_trials = 1 << 12,
+enum { max_num_trials = 1 << 13,
price_shift_bits = 6,
price_step_bits = 2 };
@@ -654,12 +654,8 @@ struct LZ_encoder
bool member_finished;
};
-
static inline bool LZe_member_finished( const struct LZ_encoder * const e )
- {
- return ( e->member_finished && !Cb_used_bytes( &e->renc.cb ) );
- }
-
+ { return ( e->member_finished && !Cb_used_bytes( &e->renc.cb ) ); }
static inline void LZe_free( struct LZ_encoder * const e )
{ Re_free( &e->renc ); }