summaryrefslogtreecommitdiff
path: root/jctrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'jctrans.c')
-rw-r--r--jctrans.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/jctrans.c b/jctrans.c
index 9753a43..74bb12c 100644
--- a/jctrans.c
+++ b/jctrans.c
@@ -169,14 +169,7 @@ transencode_master_selection (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);
}
/* We need a special coefficient buffer controller. */