summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:04:16 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:04:16 +0000
commitc217f57e30dbd3182a6a42879f7653b18b542160 (patch)
tree2aae1836d87a3fab4149f6634f7d4f8eba1bf2b0 /encoder.h
parentAdding upstream version 1.6~pre4. (diff)
downloadlzlib-c217f57e30dbd3182a6a42879f7653b18b542160.tar.xz
lzlib-c217f57e30dbd3182a6a42879f7653b18b542160.zip
Adding upstream version 1.6~rc1.upstream/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 ); }