summaryrefslogtreecommitdiff
path: root/jcinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'jcinit.c')
-rw-r--r--jcinit.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/jcinit.c b/jcinit.c
index a0f3e4f..0ba310f 100644
--- a/jcinit.c
+++ b/jcinit.c
@@ -44,14 +44,7 @@ jinit_compress_master (j_compress_ptr cinfo)
if (cinfo->arith_code)
jinit_arith_encoder(cinfo);
else {
- if (cinfo->progressive_mode) {
-#ifdef C_PROGRESSIVE_SUPPORTED
- jinit_phuff_encoder(cinfo);
-#else
- ERREXIT(cinfo, JERR_NOT_COMPILED);
-#endif
- } else
- jinit_huff_encoder(cinfo);
+ jinit_huff_encoder(cinfo);
}
/* Need a full-image coefficient buffer in any multi-pass mode. */