summaryrefslogtreecommitdiff
path: root/jctrans.c
diff options
context:
space:
mode:
authorpaulberg <paulberg>2006-02-27 21:31:39 +0000
committerpaulberg <paulberg>2006-02-27 21:31:39 +0000
commitaa9216de00b6b02ab38d2be69e1e5f08c97fe22c (patch)
treed7c13d1b20e9a5fd1692eba371a084898f8c0da8 /jctrans.c
parentddcbcd3c914033b6b3ff7e2a64f3942e438391ea (diff)
downloadlibjpeg-aa9216de00b6b02ab38d2be69e1e5f08c97fe22c.tar.gz
some further 'facelifting'jpeg6b_vollbeding
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. */