summaryrefslogtreecommitdiff
path: root/jdmaster.c
diff options
context:
space:
mode:
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. */