summaryrefslogtreecommitdiff
path: root/jdmaster.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 /jdmaster.c
parentddcbcd3c914033b6b3ff7e2a64f3942e438391ea (diff)
downloadlibjpeg-aa9216de00b6b02ab38d2be69e1e5f08c97fe22c.tar.gz
some further 'facelifting'jpeg6b_vollbeding
Diffstat (limited to 'jdmaster.c')
-rw-r--r--jdmaster.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/jdmaster.c b/jdmaster.c
index 0cdafbd..188baf1 100644
--- a/jdmaster.c
+++ b/jdmaster.c
@@ -485,14 +485,7 @@ master_selection (j_decompress_ptr cinfo)
if (cinfo->arith_code) {
jinit_arith_decoder(cinfo);
} else {
- if (cinfo->progressive_mode) {
-#ifdef D_PROGRESSIVE_SUPPORTED
- jinit_phuff_decoder(cinfo);
-#else
- ERREXIT(cinfo, JERR_NOT_COMPILED);
-#endif
- } else
- jinit_huff_decoder(cinfo);
+ jinit_huff_decoder(cinfo);
}
/* Initialize principal buffer controllers. */